public interface IAnnotationComponentValue
Modifier and Type | Field and Description |
---|---|
static int |
ANNOTATION_TAG
Tag value for a value that represents an annotation
|
static int |
ARRAY_TAG
Tag value for a value that represents an array
|
static int |
BOOLEAN_TAG
Tag value for a constant of type
boolean |
static int |
BYTE_TAG
Tag value for a constant of type
byte |
static int |
CHAR_TAG
Tag value for a constant of type
char |
static int |
CLASS_TAG
Tag value for a value that represents a class
|
static int |
DOUBLE_TAG
Tag value for a constant of type
double |
static int |
ENUM_TAG
Tag value for a value that represents an enum constant
|
static int |
FLOAT_TAG
Tag value for a constant of type
float |
static int |
INTEGER_TAG
Tag value for a constant of type
int |
static int |
LONG_TAG
Tag value for a constant of type
long |
static int |
SHORT_TAG
Tag value for a constant of type
short |
static int |
STRING_TAG
Tag value for a constant of type
java.lang.String |
Modifier and Type | Method and Description |
---|---|
IAnnotationComponentValue[] |
getAnnotationComponentValues()
Returns the annotation component values as described in the JVM specifications
if the tag item is '['.
|
IAnnotation |
getAnnotationValue()
Returns the annotation value as described in the JVM specifications
if the tag item is '@'.
|
IConstantPoolEntry |
getClassInfo()
Returns the class info as described in the JVM specifications
if the tag item is 'c'.
|
int |
getClassInfoIndex()
Returns the class info index as described in the JVM specifications
if the tag item is 'c'.
|
IConstantPoolEntry |
getConstantValue()
Returns the constant value as described in the JVM specifications
if the tag item is one of 'B', 'C', 'D', 'F', 'I', 'J', 'S', 'Z', or 's'.
|
int |
getConstantValueIndex()
Returns the constant value index as described in the JVM specifications
if the tag item is one of 'B', 'C', 'D', 'F', 'I', 'J', 'S', 'Z', or 's'.
|
char[] |
getEnumConstantName()
Returns the simple name of the enum constant represented
by this annotation component value as described in the JVM specifications
if the tag item is 'e'.
|
int |
getEnumConstantNameIndex()
Returns the utf8 constant index as described in the JVM specifications
if the tag item is 'e'.
|
char[] |
getEnumConstantTypeName()
Returns the binary name of the type of the enum constant represented
by this annotation component value as described in the JVM specifications
if the tag item is 'e'.
|
int |
getEnumConstantTypeNameIndex()
Returns the utf8 constant index as described in the JVM specifications
if the tag item is 'e'.
|
int |
getTag()
Returns the tag as described in the JVM specifications.
|
int |
getValuesNumber()
Returns the number of values as described in the JVM specifications
if the tag item is '['.
|
static final int BYTE_TAG
byte
static final int CHAR_TAG
char
static final int DOUBLE_TAG
double
static final int FLOAT_TAG
float
static final int INTEGER_TAG
int
static final int LONG_TAG
long
static final int SHORT_TAG
short
static final int BOOLEAN_TAG
boolean
static final int STRING_TAG
java.lang.String
static final int ENUM_TAG
static final int CLASS_TAG
static final int ANNOTATION_TAG
static final int ARRAY_TAG
IAnnotationComponentValue[] getAnnotationComponentValues()
IAnnotation getAnnotationValue()
IConstantPoolEntry getClassInfo()
int getClassInfoIndex()
IConstantPoolEntry getConstantValue()
int getConstantValueIndex()
char[] getEnumConstantName()
int getEnumConstantNameIndex()
char[] getEnumConstantTypeName()
int getEnumConstantTypeNameIndex()
int getTag()
int getValuesNumber()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.