com.sun.tools.classfile
Class Annotation.element_value

java.lang.Object
  extended by com.sun.tools.classfile.Annotation.element_value
Direct Known Subclasses:
Annotation.Annotation_element_value, Annotation.Array_element_value, Annotation.Class_element_value, Annotation.Enum_element_value, Annotation.Primitive_element_value
Enclosing class:
Annotation

public abstract static class Annotation.element_value
extends java.lang.Object

See JVMS3, section 4.8.16.1.


Nested Class Summary
static interface Annotation.element_value.Visitor<R,P>
           
 
Field Summary
 int tag
           
 
Constructor Summary
protected Annotation.element_value(int tag)
           
 
Method Summary
abstract
<R,P> R
accept(Annotation.element_value.Visitor<R,P> visitor, P p)
           
abstract  int length()
           
static Annotation.element_value read(ClassReader cr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tag

public final int tag
Constructor Detail

Annotation.element_value

protected Annotation.element_value(int tag)
Method Detail

read

public static Annotation.element_value read(ClassReader cr)
                                     throws java.io.IOException,
                                            Annotation.InvalidAnnotation
Throws:
java.io.IOException
Annotation.InvalidAnnotation

length

public abstract int length()

accept

public abstract <R,P> R accept(Annotation.element_value.Visitor<R,P> visitor,
                               P p)