com.sun.tools.classfile
Class AnnotationDefault_attribute

java.lang.Object
  extended by com.sun.tools.classfile.Attribute
      extended by com.sun.tools.classfile.AnnotationDefault_attribute

public class AnnotationDefault_attribute
extends Attribute

See JVMS3, section 4.8.15.

This is NOT part of any API supported by Sun Microsystems. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.tools.classfile.Attribute
Attribute.Factory, Attribute.Visitor<R,P>
 
Field Summary
 Annotation.element_value default_value
           
 
Fields inherited from class com.sun.tools.classfile.Attribute
AnnotationDefault, attribute_length, attribute_name_index, CharacterRangeTable, Code, CompilationID, ConstantValue, Deprecated, EnclosingMethod, Exceptions, InnerClasses, LineNumberTable, LocalVariableTable, LocalVariableTypeTable, Module, ModuleExportTable, ModuleMemberTable, RuntimeInvisibleAnnotations, RuntimeInvisibleParameterAnnotations, RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations, Signature, SourceDebugExtension, SourceFile, SourceID, StackMap, StackMapTable, Synthetic
 
Constructor Summary
AnnotationDefault_attribute(ClassReader cr, int name_index, int length)
           
AnnotationDefault_attribute(ConstantPool constant_pool, Annotation.element_value default_value)
           
AnnotationDefault_attribute(int name_index, Annotation.element_value default_value)
           
 
Method Summary
<R,D> R
accept(Attribute.Visitor<R,D> visitor, D data)
           
 
Methods inherited from class com.sun.tools.classfile.Attribute
getName, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

default_value

public final Annotation.element_value default_value
Constructor Detail

AnnotationDefault_attribute

AnnotationDefault_attribute(ClassReader cr,
                            int name_index,
                            int length)
                      throws java.io.IOException,
                             Annotation.InvalidAnnotation
Throws:
java.io.IOException
Annotation.InvalidAnnotation

AnnotationDefault_attribute

public AnnotationDefault_attribute(ConstantPool constant_pool,
                                   Annotation.element_value default_value)
                            throws ConstantPoolException
Throws:
ConstantPoolException

AnnotationDefault_attribute

public AnnotationDefault_attribute(int name_index,
                                   Annotation.element_value default_value)
Method Detail

accept

public <R,D> R accept(Attribute.Visitor<R,D> visitor,
                      D data)
Specified by:
accept in class Attribute