org.aspectj.apache.bcel.classfile
Class AnnotationDefault

java.lang.Object
  extended by org.aspectj.apache.bcel.classfile.Attribute
      extended by org.aspectj.apache.bcel.classfile.AnnotationDefault
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Node

public class AnnotationDefault
extends Attribute

This attribute is attached to a method and indicates the default value for an annotation element.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.aspectj.apache.bcel.classfile.Attribute
cpool, length, nameIndex, NoAttributes, tag
 
Constructor Summary
AnnotationDefault(int nameIndex, int len, java.io.DataInputStream dis, ConstantPool cpool)
           
 
Method Summary
 void accept(ClassVisitor v)
           
 Attribute copy(ConstantPool constant_pool)
           
 void dump(java.io.DataOutputStream dos)
           
 ElementValue getElementValue()
           
 
Methods inherited from class org.aspectj.apache.bcel.classfile.Attribute
getConstantPool, getLength, getName, getNameIndex, getTag, readAttribute, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationDefault

public AnnotationDefault(int nameIndex,
                         int len,
                         java.io.DataInputStream dis,
                         ConstantPool cpool)
                  throws java.io.IOException
Throws:
java.io.IOException
Method Detail

copy

public Attribute copy(ConstantPool constant_pool)

getElementValue

public final ElementValue getElementValue()

dump

public final void dump(java.io.DataOutputStream dos)
                throws java.io.IOException
Overrides:
dump in class Attribute
Throws:
java.io.IOException

accept

public void accept(ClassVisitor v)
Specified by:
accept in interface Node
Specified by:
accept in class Attribute