public class Annotation extends ClassFileStruct implements IAnnotation
| Constructor and Description |
|---|
Annotation(byte[] classFileBytes,
IConstantPool constantPool,
int offset)
Constructor for Annotation.
|
| Modifier and Type | Method and Description |
|---|---|
IAnnotationComponent[] |
getComponents()
Answer back the components as described in the JVM specifications.
|
int |
getComponentsNumber()
Answer back the number of components as described in the JVM specifications.
|
int |
getTypeIndex()
Answer back the type index as described in the JVM specifications.
|
char[] |
getTypeName()
Answer back the type name as described in the JVM specifications.
|
public Annotation(byte[] classFileBytes,
IConstantPool constantPool,
int offset)
throws ClassFormatException
classFileBytes - constantPool - offset - ClassFormatExceptionpublic int getTypeIndex()
IAnnotationgetTypeIndex in interface IAnnotationpublic int getComponentsNumber()
IAnnotationgetComponentsNumber in interface IAnnotationpublic IAnnotationComponent[] getComponents()
IAnnotationgetComponents in interface IAnnotationpublic char[] getTypeName()
IAnnotationgetTypeName in interface IAnnotation