org.eclipse.jdt.internal.core.util
Class Annotation

java.lang.Object
  extended by org.eclipse.jdt.internal.core.util.ClassFileStruct
      extended by org.eclipse.jdt.internal.core.util.Annotation

public class Annotation
extends ClassFileStruct

Default implementation of IAnnotation


Constructor Summary
Annotation(byte[] classFileBytes, IConstantPool constantPool, int offset)
          Constructor for Annotation.
 
Method Summary
 IAnnotationComponent[] getComponents()
           
 int getComponentsNumber()
           
 int getTypeIndex()
           
 char[] getTypeName()
           
 
Methods inherited from class 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

Annotation

public Annotation(byte[] classFileBytes,
                  IConstantPool constantPool,
                  int offset)
           throws ClassFormatException
Constructor for Annotation.

Parameters:
classFileBytes -
constantPool -
offset -
Throws:
ClassFormatException
Method Detail

getTypeIndex

public int getTypeIndex()

getComponentsNumber

public int getComponentsNumber()

getComponents

public IAnnotationComponent[] getComponents()

getTypeName

public char[] getTypeName()