Package aQute.bnd.classfile
Class AnnotationInfo
java.lang.Object
aQute.bnd.classfile.AnnotationInfo
- Direct Known Subclasses:
TypeAnnotationInfo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
AnnotationInfo.Constructor<A extends AnnotationInfo>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static int
infos_length
(AnnotationInfo[] annotations) (package private) static AnnotationInfo
read
(DataInput in, ConstantPool constant_pool) (package private) static <A extends AnnotationInfo>
Aread
(DataInput in, ConstantPool constant_pool, AnnotationInfo.Constructor<A> constructor) (package private) static AnnotationInfo[]
readInfos
(DataInput in, ConstantPool constant_pool) toString()
(package private) int
(package private) void
write
(DataOutput out, ConstantPool constant_pool) (package private) static void
writeInfos
(DataOutput out, ConstantPool constant_pool, AnnotationInfo[] annotations)
-
Field Details
-
type
-
values
-
-
Constructor Details
-
AnnotationInfo
-
-
Method Details
-
toString
-
read
- Throws:
IOException
-
read
static <A extends AnnotationInfo> A read(DataInput in, ConstantPool constant_pool, AnnotationInfo.Constructor<A> constructor) throws IOException - Throws:
IOException
-
write
- Throws:
IOException
-
value_length
int value_length() -
readInfos
- Throws:
IOException
-
writeInfos
static void writeInfos(DataOutput out, ConstantPool constant_pool, AnnotationInfo[] annotations) throws IOException - Throws:
IOException
-
infos_length
-