public class TypeParameterBoundTargetInfo extends TargetInfo
Modifier and Type | Field and Description |
---|---|
int |
u1boundIndex |
int |
u1typeParameterIndex |
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 and Description |
---|
TypeParameterBoundTargetInfo()
Creates an uninitialized TypeParameterBoundTargetInfo.
|
TypeParameterBoundTargetInfo(byte u1targetType)
Creates a partially initialized TypeParameterBoundTargetInfo.
|
TypeParameterBoundTargetInfo(byte u1targetType,
int u1typeParameterIndex,
int u1boundIndex)
Creates an initialized TypeParameterBoundTargetInfo.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(Clazz clazz,
Field field,
TypeAnnotation typeAnnotation,
TargetInfoVisitor targetInfoVisitor)
Accepts the given visitor, in the context of a type annotation on a field.
|
void |
accept(Clazz clazz,
Method method,
TypeAnnotation typeAnnotation,
TargetInfoVisitor targetInfoVisitor)
Accepts the given visitor, in the context of a type annotation on a method.
|
void |
accept(Clazz clazz,
TypeAnnotation typeAnnotation,
TargetInfoVisitor targetInfoVisitor)
Accepts the given visitor, in the context of a type annotation on a class.
|
accept, getTargetType
public int u1typeParameterIndex
public int u1boundIndex
public TypeParameterBoundTargetInfo()
public TypeParameterBoundTargetInfo(byte u1targetType)
public TypeParameterBoundTargetInfo(byte u1targetType, int u1typeParameterIndex, int u1boundIndex)
public void accept(Clazz clazz, TypeAnnotation typeAnnotation, TargetInfoVisitor targetInfoVisitor)
TargetInfo
accept
in class TargetInfo
public void accept(Clazz clazz, Field field, TypeAnnotation typeAnnotation, TargetInfoVisitor targetInfoVisitor)
TargetInfo
accept
in class TargetInfo
public void accept(Clazz clazz, Method method, TypeAnnotation typeAnnotation, TargetInfoVisitor targetInfoVisitor)
TargetInfo
accept
in class TargetInfo