|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.AnnotationComponentValue
public class AnnotationComponentValue
Default implementation of IAnnotationComponent
| Field Summary |
|---|
| Fields inherited from interface org.aspectj.org.eclipse.jdt.core.util.IAnnotationComponentValue |
|---|
ANNOTATION_TAG, ARRAY_TAG, BOOLEAN_TAG, BYTE_TAG, CHAR_TAG, CLASS_TAG, DOUBLE_TAG, ENUM_TAG, FLOAT_TAG, INTEGER_TAG, LONG_TAG, SHORT_TAG, STRING_TAG |
| Constructor Summary | |
|---|---|
AnnotationComponentValue(byte[] classFileBytes,
IConstantPool constantPool,
int offset)
|
|
| 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 '['. |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct |
|---|
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8At |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationComponentValue(byte[] classFileBytes,
IConstantPool constantPool,
int offset)
throws ClassFormatException
ClassFormatException| Method Detail |
|---|
public IAnnotationComponentValue[] getAnnotationComponentValues()
IAnnotationComponentValue
getAnnotationComponentValues in interface IAnnotationComponentValuepublic IAnnotation getAnnotationValue()
IAnnotationComponentValue
getAnnotationValue in interface IAnnotationComponentValuepublic IConstantPoolEntry getClassInfo()
IAnnotationComponentValue
getClassInfo in interface IAnnotationComponentValuepublic int getClassInfoIndex()
IAnnotationComponentValue
getClassInfoIndex in interface IAnnotationComponentValuepublic IConstantPoolEntry getConstantValue()
IAnnotationComponentValue
getConstantValue in interface IAnnotationComponentValuepublic int getConstantValueIndex()
IAnnotationComponentValue
getConstantValueIndex in interface IAnnotationComponentValuepublic char[] getEnumConstantName()
IAnnotationComponentValue
getEnumConstantName in interface IAnnotationComponentValuepublic int getEnumConstantNameIndex()
IAnnotationComponentValue
getEnumConstantNameIndex in interface IAnnotationComponentValuepublic char[] getEnumConstantTypeName()
IAnnotationComponentValue
getEnumConstantTypeName in interface IAnnotationComponentValuepublic int getEnumConstantTypeNameIndex()
IAnnotationComponentValue
getEnumConstantTypeNameIndex in interface IAnnotationComponentValuepublic int getTag()
IAnnotationComponentValue
getTag in interface IAnnotationComponentValuepublic int getValuesNumber()
IAnnotationComponentValue
getValuesNumber in interface IAnnotationComponentValue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||