Package aQute.bnd.classfile
Class AnnotationsAttribute
- java.lang.Object
-
- aQute.bnd.classfile.AnnotationsAttribute
-
- All Implemented Interfaces:
Attribute
- Direct Known Subclasses:
RuntimeInvisibleAnnotationsAttribute
,RuntimeVisibleAnnotationsAttribute
public abstract class AnnotationsAttribute extends java.lang.Object implements Attribute
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AnnotationsAttribute.Constructor<A extends AnnotationsAttribute>
-
Field Summary
Fields Modifier and Type Field Description AnnotationInfo[]
annotations
-
Constructor Summary
Constructors Modifier Constructor Description protected
AnnotationsAttribute(AnnotationInfo[] annotations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
attribute_length()
java.lang.String
toString()
void
write(java.io.DataOutput out, ConstantPool constant_pool)
-
-
-
Field Detail
-
annotations
public final AnnotationInfo[] annotations
-
-
Constructor Detail
-
AnnotationsAttribute
protected AnnotationsAttribute(AnnotationInfo[] annotations)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
write
public void write(java.io.DataOutput out, ConstantPool constant_pool) throws java.io.IOException
-
attribute_length
public int attribute_length()
- Specified by:
attribute_length
in interfaceAttribute
-
-