alt.jiapi.file.attribute
Class AnnotationBase

java.lang.Object
  extended by alt.jiapi.file.attribute.Attribute
      extended by alt.jiapi.file.attribute.AnnotationBase
Direct Known Subclasses:
AnnotationDefaultAttribute, AnnotationsAttribute, ParameterAnnotationsAttribute

public class AnnotationBase
extends Attribute

This class reads annotations

Author:
Mika Riekkinen

Nested Class Summary
 class AnnotationBase.Annotation
          This class represents Annotiotion structure defined in class file format.
 class AnnotationBase.Element
          This class holds annotation element name value pairs.
 class AnnotationBase.Value
           
 
Field Summary
 
Fields inherited from class alt.jiapi.file.attribute.Attribute
cp
 
Constructor Summary
protected AnnotationBase(ConstantPool cp, short nameIndex, int length, java.io.DataInputStream dis)
           
 
Method Summary
protected  AnnotationBase.Annotation readAnnotation(java.io.DataInputStream dis)
           
protected  AnnotationBase.Value readElementValue(java.io.DataInputStream dis)
           
 
Methods inherited from class alt.jiapi.file.attribute.Attribute
getAttributeNameIndex, getBytes, getDataInputStream, getName, readAttribute, setConstantPool, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationBase

protected AnnotationBase(ConstantPool cp,
                         short nameIndex,
                         int length,
                         java.io.DataInputStream dis)
                  throws java.io.IOException
Throws:
java.io.IOException
Method Detail

readAnnotation

protected AnnotationBase.Annotation readAnnotation(java.io.DataInputStream dis)
                                            throws java.io.IOException
Throws:
java.io.IOException

readElementValue

protected AnnotationBase.Value readElementValue(java.io.DataInputStream dis)
                                         throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2001. Documenation generated August 26 2011.