类 LocalVariableTargetInfo
- java.lang.Object
-
- proguard.classfile.attribute.annotation.target.TargetInfo
-
- proguard.classfile.attribute.annotation.target.LocalVariableTargetInfo
-
public class LocalVariableTargetInfo extends TargetInfo
Representation of a local variable annotation target.
-
-
字段概要
字段 修饰符和类型 字段 说明 LocalVariableTargetElement[]tableintu2tableLength-
从类继承的字段 proguard.classfile.attribute.annotation.target.TargetInfo
TARGET_TYPE_ARGUMENT_GENERIC_METHOD, TARGET_TYPE_ARGUMENT_GENERIC_METHODNew, TARGET_TYPE_ARGUMENT_GENERIC_METHODReference, TARGET_TYPE_ARGUMENT_GENERIC_METHODReferenceNew, TARGET_TYPE_BOUND_GENERIC_CLASS, TARGET_TYPE_BOUND_GENERIC_METHOD, TARGET_TYPE_CAST, TARGET_TYPE_CATCH, TARGET_TYPE_EXTENDS, TARGET_TYPE_FIELD, TARGET_TYPE_INSTANCE_OF, TARGET_TYPE_LOCAL_VARIABLE, TARGET_TYPE_METHOD_REFERENCE, TARGET_TYPE_METHOD_REFERENCE_NEW, TARGET_TYPE_NEW, TARGET_TYPE_PARAMETER, TARGET_TYPE_PARAMETER_GENERIC_CLASS, TARGET_TYPE_PARAMETER_GENERIC_METHOD, TARGET_TYPE_RECEIVER, TARGET_TYPE_RESOURCE_VARIABLE, TARGET_TYPE_RETURN, TARGET_TYPE_THROWS, u1targetType
-
-
构造器概要
构造器 构造器 说明 LocalVariableTargetInfo()Creates an uninitialized LocalVariableTargetInfo.LocalVariableTargetInfo(byte u1targetType)Creates a partially initialized LocalVariableTargetInfo.LocalVariableTargetInfo(byte u1targetType, int u2tableLength, LocalVariableTargetElement[] table)Creates an initialized LocalVariableTargetInfo.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaccept(Clazz clazz, TypeAnnotation typeAnnotation, TargetInfoVisitor targetInfoVisitor)Lets the visitor visit, with Method and CodeAttribute null.voidaccept(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, TargetInfoVisitor targetInfoVisitor)Accepts the given visitor, in the context of a type annotation code.voidtargetElementsAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, LocalVariableTargetElementVisitor localVariableTargetElementVisitor)Applies the given visitor to all target elements.-
从类继承的方法 proguard.classfile.attribute.annotation.target.TargetInfo
accept, accept, getTargetType
-
-
-
-
字段详细资料
-
u2tableLength
public int u2tableLength
-
table
public LocalVariableTargetElement[] table
-
-
构造器详细资料
-
LocalVariableTargetInfo
public LocalVariableTargetInfo()
Creates an uninitialized LocalVariableTargetInfo.
-
LocalVariableTargetInfo
public LocalVariableTargetInfo(byte u1targetType)
Creates a partially initialized LocalVariableTargetInfo.
-
LocalVariableTargetInfo
public LocalVariableTargetInfo(byte u1targetType, int u2tableLength, LocalVariableTargetElement[] table)Creates an initialized LocalVariableTargetInfo.
-
-
方法详细资料
-
targetElementsAccept
public void targetElementsAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, LocalVariableTargetElementVisitor localVariableTargetElementVisitor)
Applies the given visitor to all target elements.
-
accept
public void accept(Clazz clazz, TypeAnnotation typeAnnotation, TargetInfoVisitor targetInfoVisitor)
Lets the visitor visit, with Method and CodeAttribute null.- 覆盖:
accept在类中TargetInfo
-
accept
public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, TargetInfoVisitor targetInfoVisitor)
从类复制的说明:TargetInfoAccepts the given visitor, in the context of a type annotation code.- 覆盖:
accept在类中TargetInfo
-
-