com.sun.tools.classfile
Class RuntimeAnnotations_attribute

java.lang.Object
  extended by com.sun.tools.classfile.Attribute
      extended by com.sun.tools.classfile.RuntimeAnnotations_attribute
Direct Known Subclasses:
RuntimeInvisibleAnnotations_attribute, RuntimeVisibleAnnotations_attribute

public abstract class RuntimeAnnotations_attribute
extends Attribute

See JVMS3, section 4.8.16 and 4.8.17.

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[] annotations
           
 
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
protected RuntimeAnnotations_attribute(ClassReader cr, int name_index, int length)
           
protected RuntimeAnnotations_attribute(int name_index, Annotation[] annotations)
           
 
Method Summary
private static int length(Annotation[] annos)
           
 
Methods inherited from class com.sun.tools.classfile.Attribute
accept, getName, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

annotations

public final Annotation[] annotations
Constructor Detail

RuntimeAnnotations_attribute

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

RuntimeAnnotations_attribute

protected RuntimeAnnotations_attribute(int name_index,
                                       Annotation[] annotations)
Method Detail

length

private static int length(Annotation[] annos)