| org.eclipse.jdt.core.util.IAnnotationComponentValue
All known Subclasses: org.eclipse.jdt.internal.core.util.AnnotationComponentValue,
IAnnotationComponentValue | public interface IAnnotationComponentValue (Code) | | Description of an annotation component value as described in the JVM specifications
(added in J2SE 1.5).
This interface may be implemented by clients.
since: 3.1 |
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 '['. |
ANNOTATION_TAG | int ANNOTATION_TAG(Code) | | Tag value for a value that represents an annotation
since: 3.1 |
ARRAY_TAG | int ARRAY_TAG(Code) | | Tag value for a value that represents an array
since: 3.1 |
BOOLEAN_TAG | int BOOLEAN_TAG(Code) | | Tag value for a constant of type boolean
since: 3.1 |
BYTE_TAG | int BYTE_TAG(Code) | | Tag value for a constant of type byte
since: 3.1 |
CHAR_TAG | int CHAR_TAG(Code) | | Tag value for a constant of type char
since: 3.1 |
CLASS_TAG | int CLASS_TAG(Code) | | Tag value for a value that represents a class
since: 3.1 |
DOUBLE_TAG | int DOUBLE_TAG(Code) | | Tag value for a constant of type double
since: 3.1 |
ENUM_TAG | int ENUM_TAG(Code) | | Tag value for a value that represents an enum constant
since: 3.1 |
FLOAT_TAG | int FLOAT_TAG(Code) | | Tag value for a constant of type float
since: 3.1 |
INTEGER_TAG | int INTEGER_TAG(Code) | | Tag value for a constant of type int
since: 3.1 |
LONG_TAG | int LONG_TAG(Code) | | Tag value for a constant of type long
since: 3.1 |
SHORT_TAG | int SHORT_TAG(Code) | | Tag value for a constant of type short
since: 3.1 |
STRING_TAG | int STRING_TAG(Code) | | Tag value for a constant of type java.lang.String
since: 3.1 |
getAnnotationComponentValues | IAnnotationComponentValue[] getAnnotationComponentValues()(Code) | | Returns the annotation component values as described in the JVM specifications
if the tag item is '['.
Returns null otherwise.
the annotation component values |
getAnnotationValue | IAnnotation getAnnotationValue()(Code) | | Returns the annotation value as described in the JVM specifications
if the tag item is '@'.
Returns null otherwise.
the attribute value since: 3.1 |
getClassInfo | IConstantPoolEntry getClassInfo()(Code) | | Returns the class info as described in the JVM specifications
if the tag item is 'c'.
Returns null otherwise.
the class info |
getClassInfoIndex | int getClassInfoIndex()(Code) | | Returns the class info index as described in the JVM specifications
if the tag item is 'c'.
Returns null otherwise.
the class info index |
getConstantValue | IConstantPoolEntry getConstantValue()(Code) | | 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'.
Returns null otherwise.
the constant value |
getConstantValueIndex | int getConstantValueIndex()(Code) | | 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'.
The value is unspecified otherwise.
the constant value index |
getEnumConstantName | char[] getEnumConstantName()(Code) | | 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'.
Returns null otherwise.
the enum constant since: 3.1 |
getEnumConstantNameIndex | int getEnumConstantNameIndex()(Code) | | Returns the utf8 constant index as described in the JVM specifications
if the tag item is 'e'.
The value is unspecified otherwise.
the enum constant index since: 3.1 |
getEnumConstantTypeName | char[] getEnumConstantTypeName()(Code) | | 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'.
Returns null otherwise.
the enum constant since: 3.1 |
getEnumConstantTypeNameIndex | int getEnumConstantTypeNameIndex()(Code) | | Returns the utf8 constant index as described in the JVM specifications
if the tag item is 'e'.
The value is unspecified otherwise.
the enum constant index since: 3.1 |
getTag | int getTag()(Code) | | Returns the tag as described in the JVM specifications.
the tag |
getValuesNumber | int getValuesNumber()(Code) | | Returns the number of values as described in the JVM specifications
if the tag item is '['.
The value is unspecified otherwise.
the number of values |
|
|