Class EmptyTargetInfo
java.lang.Object
proguard.classfile.attribute.annotation.target.TargetInfo
proguard.classfile.attribute.annotation.target.EmptyTargetInfo
Representation of an empty annotation target.
-
Field Summary
Fields inherited from class 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 -
Constructor Summary
ConstructorsConstructorDescriptionCreates an uninitialized EmptyTargetInfo.EmptyTargetInfo(byte u1targetType) Creates an initialized EmptyTargetInfo. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(Clazz clazz, TypeAnnotation typeAnnotation, TargetInfoVisitor targetInfoVisitor) Lets the visitor visit, with Field null.voidaccept(Clazz clazz, Field field, TypeAnnotation typeAnnotation, TargetInfoVisitor targetInfoVisitor) Accepts the given visitor, in the context of a type annotation on a field.voidaccept(Clazz clazz, Method method, TypeAnnotation typeAnnotation, TargetInfoVisitor targetInfoVisitor) Accepts the given visitor, in the context of a type annotation on a method.Methods inherited from class proguard.classfile.attribute.annotation.target.TargetInfo
accept, getTargetType
-
Constructor Details
-
EmptyTargetInfo
public EmptyTargetInfo()Creates an uninitialized EmptyTargetInfo. -
EmptyTargetInfo
public EmptyTargetInfo(byte u1targetType) Creates an initialized EmptyTargetInfo.
-
-
Method Details
-
accept
Lets the visitor visit, with Field null.- Overrides:
acceptin classTargetInfo
-
accept
public void accept(Clazz clazz, Field field, TypeAnnotation typeAnnotation, TargetInfoVisitor targetInfoVisitor) Description copied from class:TargetInfoAccepts the given visitor, in the context of a type annotation on a field.- Overrides:
acceptin classTargetInfo
-
accept
public void accept(Clazz clazz, Method method, TypeAnnotation typeAnnotation, TargetInfoVisitor targetInfoVisitor) Description copied from class:TargetInfoAccepts the given visitor, in the context of a type annotation on a method.- Overrides:
acceptin classTargetInfo
-