public class AnnotationComponent extends ClassFileStruct implements IAnnotationComponent
| Constructor and Description |
|---|
AnnotationComponent(byte[] classFileBytes,
IConstantPool constantPool,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
char[] |
getComponentName()
Answer back the component name as described in the JVM specifications.
|
int |
getComponentNameIndex()
Answer back the component name index as described in the JVM specifications.
|
IAnnotationComponentValue |
getComponentValue()
Answer back the component value as described in the JVM specifications.
|
public AnnotationComponent(byte[] classFileBytes,
IConstantPool constantPool,
int offset)
throws ClassFormatException
ClassFormatExceptionpublic int getComponentNameIndex()
IAnnotationComponentgetComponentNameIndex in interface IAnnotationComponentpublic char[] getComponentName()
IAnnotationComponentgetComponentName in interface IAnnotationComponentpublic IAnnotationComponentValue getComponentValue()
IAnnotationComponentgetComponentValue in interface IAnnotationComponent