类 TypeAnnotation
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.attribute.annotation.Annotation
-
- proguard.classfile.attribute.annotation.TypeAnnotation
-
- 所有已实现的接口:
java.io.Serializable,Processable
public class TypeAnnotation extends Annotation
Representation of a type annotation.- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 TargetInfotargetInfoTypePathInfo[]typePath-
从类继承的字段 proguard.classfile.attribute.annotation.Annotation
elementValues, referencedClasses, u2elementValuesCount, u2typeIndex
-
从类继承的字段 proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
构造器概要
构造器 构造器 说明 TypeAnnotation()Creates an uninitialized TypeAnnotation.TypeAnnotation(int u2typeIndex, int u2elementValuesCount, ElementValue[] elementValues, TargetInfo targetInfo, TypePathInfo[] typePath)Creates an initialized TypeAnnotation.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidtargetInfoAccept(Clazz clazz, TargetInfoVisitor targetInfoVisitor)Applies the given visitor to the target info.voidtargetInfoAccept(Clazz clazz, Field field, TargetInfoVisitor targetInfoVisitor)Applies the given visitor to the target info.voidtargetInfoAccept(Clazz clazz, Method method, TargetInfoVisitor targetInfoVisitor)Applies the given visitor to the target info.voidtargetInfoAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, TargetInfoVisitor targetInfoVisitor)Applies the given visitor to the target info.voidtypePathInfosAccept(Clazz clazz, TypePathInfoVisitor typePathVisitor)Applies the given visitor to all type path elements.voidtypePathInfosAccept(Clazz clazz, Field field, TypePathInfoVisitor typePathVisitor)Applies the given visitor to all type path elements.voidtypePathInfosAccept(Clazz clazz, Method method, TypePathInfoVisitor typePathVisitor)Applies the given visitor to all type path elements.voidtypePathInfosAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, TypePathInfoVisitor typePathVisitor)Applies the given visitor to all type path elements.-
从类继承的方法 proguard.classfile.attribute.annotation.Annotation
elementValueAccept, elementValuesAccept, getType, referencedClassAccept, referencedClassesAccept
-
从类继承的方法 proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 proguard.util.Processable
accept
-
-
-
-
字段详细资料
-
targetInfo
public TargetInfo targetInfo
-
typePath
public TypePathInfo[] typePath
-
-
构造器详细资料
-
TypeAnnotation
public TypeAnnotation()
Creates an uninitialized TypeAnnotation.
-
TypeAnnotation
public TypeAnnotation(int u2typeIndex, int u2elementValuesCount, ElementValue[] elementValues, TargetInfo targetInfo, TypePathInfo[] typePath)Creates an initialized TypeAnnotation.
-
-
方法详细资料
-
targetInfoAccept
public void targetInfoAccept(Clazz clazz, TargetInfoVisitor targetInfoVisitor)
Applies the given visitor to the target info.
-
targetInfoAccept
public void targetInfoAccept(Clazz clazz, Field field, TargetInfoVisitor targetInfoVisitor)
Applies the given visitor to the target info.
-
targetInfoAccept
public void targetInfoAccept(Clazz clazz, Method method, TargetInfoVisitor targetInfoVisitor)
Applies the given visitor to the target info.
-
targetInfoAccept
public void targetInfoAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, TargetInfoVisitor targetInfoVisitor)
Applies the given visitor to the target info.
-
typePathInfosAccept
public void typePathInfosAccept(Clazz clazz, TypePathInfoVisitor typePathVisitor)
Applies the given visitor to all type path elements.
-
typePathInfosAccept
public void typePathInfosAccept(Clazz clazz, Field field, TypePathInfoVisitor typePathVisitor)
Applies the given visitor to all type path elements.
-
typePathInfosAccept
public void typePathInfosAccept(Clazz clazz, Method method, TypePathInfoVisitor typePathVisitor)
Applies the given visitor to all type path elements.
-
typePathInfosAccept
public void typePathInfosAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, TypePathInfoVisitor typePathVisitor)
Applies the given visitor to all type path elements.
-
-