public static enum TypeAnnotationsReader.TargetType extends java.lang.Enum<TypeAnnotationsReader.TargetType>
Constant names taken from http://types.cs.washington.edu/jsr308/
| Modifier and Type | Field and Description |
|---|---|
TypeAnnotationsReader.TypeAnnotationLocation |
location |
TypeAnnotationsReader.TargetInfo |
target_info |
int |
target_type |
| Modifier and Type | Method and Description |
|---|---|
static TypeAnnotationsReader.TargetType |
fromValue(int value) |
static TypeAnnotationsReader.TargetType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TypeAnnotationsReader.TargetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeAnnotationsReader.TargetType CLASS_TYPE_PARAMETER
public static final TypeAnnotationsReader.TargetType METHOD_TYPE_PARAMETER
public static final TypeAnnotationsReader.TargetType CLASS_EXTENDS
public static final TypeAnnotationsReader.TargetType CLASS_TYPE_PARAMETER_BOUND
public static final TypeAnnotationsReader.TargetType METHOD_TYPE_PARAMETER_BOUND
public static final TypeAnnotationsReader.TargetType FIELD
public static final TypeAnnotationsReader.TargetType METHOD_RETURN
public static final TypeAnnotationsReader.TargetType METHOD_RECEIVER
public static final TypeAnnotationsReader.TargetType METHOD_FORMAL_PARAMETER
public static final TypeAnnotationsReader.TargetType THROWS
public static final TypeAnnotationsReader.TargetType LOCAL_VARIABLE
public static final TypeAnnotationsReader.TargetType RESOURCE_VARIABLE
public static final TypeAnnotationsReader.TargetType EXCEPTION_PARAMETER
public static final TypeAnnotationsReader.TargetType INSTANCEOF
public static final TypeAnnotationsReader.TargetType NEW
public static final TypeAnnotationsReader.TargetType CONSTRUCTOR_REFERENCE
public static final TypeAnnotationsReader.TargetType METHOD_REFERENCE
public static final TypeAnnotationsReader.TargetType CAST
public static final TypeAnnotationsReader.TargetType CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
public static final TypeAnnotationsReader.TargetType METHOD_INVOCATION_TYPE_ARGUMENT
public static final TypeAnnotationsReader.TargetType CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
public static final TypeAnnotationsReader.TargetType METHOD_REFERENCE_TYPE_ARGUMENT
public final int target_type
public final TypeAnnotationsReader.TargetInfo target_info
public final TypeAnnotationsReader.TypeAnnotationLocation location
public static TypeAnnotationsReader.TargetType[] values()
for (TypeAnnotationsReader.TargetType c : TypeAnnotationsReader.TargetType.values()) System.out.println(c);
public static TypeAnnotationsReader.TargetType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static TypeAnnotationsReader.TargetType fromValue(int value)