|
Eclipse JDT Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Description of an annotation component value as described in the JVM specifications (added in J2SE 1.5). This interface may be implemented by clients.
Field Summary | |
---|---|
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 |
Method Summary | |
---|---|
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 '['. |
Field Detail |
public static final int BYTE_TAG
byte
public static final int CHAR_TAG
char
public static final int DOUBLE_TAG
double
public static final int FLOAT_TAG
float
public static final int INTEGER_TAG
int
public static final int LONG_TAG
long
public static final int SHORT_TAG
short
public static final int BOOLEAN_TAG
boolean
public static final int STRING_TAG
java.lang.String
public static final int ENUM_TAG
public static final int CLASS_TAG
public static final int ANNOTATION_TAG
public static final int ARRAY_TAG
Method Detail |
public IAnnotationComponentValue[] getAnnotationComponentValues()
public IAnnotation getAnnotationValue()
public IConstantPoolEntry getClassInfo()
public int getClassInfoIndex()
public IConstantPoolEntry getConstantValue()
public int getConstantValueIndex()
public char[] getEnumConstantName()
public int getEnumConstantNameIndex()
public char[] getEnumConstantTypeName()
public int getEnumConstantTypeNameIndex()
public int getTag()
public int getValuesNumber()
|
Eclipse JDT Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |