Top Description Fields Constructors Methods
com.sun.tools.classfile

public abstract Class RuntimeAnnotations_attribute

extends Attribute
Class Inheritance
Known Direct Subclasses
com.sun.tools.classfile.RuntimeInvisibleAnnotations_attribute, com.sun.tools.classfile.RuntimeVisibleAnnotations_attribute
Imports
java.io.IOException

See JVMS, section 4.8.16 and 4.8.17.

This is NOT part of any supported API. 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.

Field Summary

Modifier and TypeField and Description
public final Annotation[]
Inherited from com.sun.tools.classfile.Attribute:
AnnotationDefaultattribute_lengthattribute_name_indexBootstrapMethodsCharacterRangeTableCodeCompilationIDConstantValueDeprecatedEnclosingMethodExceptionsInnerClassesLineNumberTableLocalVariableTableLocalVariableTypeTableMethodParametersModuleModuleHashesModuleMainClassModulePackagesModuleResolutionModuleTargetNestHostNestMembersPermittedSubclassesRecordRuntimeInvisibleAnnotationsRuntimeInvisibleParameterAnnotationsRuntimeInvisibleTypeAnnotationsRuntimeVisibleAnnotationsRuntimeVisibleParameterAnnotationsRuntimeVisibleTypeAnnotationsSignatureSourceDebugExtensionSourceFileSourceIDStackMapStackMapTableSynthetic

Constructor Summary

AccessConstructor and Description
protected
RuntimeAnnotations_attribute(ClassReader cr, int name_index, int length)

protected
RuntimeAnnotations_attribute(int name_index, Annotation[] annotations)

Method Summary

Modifier and TypeMethod and Description
private static int
length(Annotation[] annos)

Inherited from com.sun.tools.classfile.Attribute:
acceptbyteLengthgetNameread

Field Detail

annotationsback to summary
public final Annotation[] annotations

Constructor Detail

RuntimeAnnotations_attributeback to summary
protected RuntimeAnnotations_attribute(ClassReader cr, int name_index, int length) throws IOException, InvalidAnnotation
RuntimeAnnotations_attributeback to summary
protected RuntimeAnnotations_attribute(int name_index, Annotation[] annotations)

Method Detail

lengthback to summary
private static int length(Annotation[] annos)