Package aQute.bnd.classfile
Class AnnotationInfo
- java.lang.Object
-
- aQute.bnd.classfile.AnnotationInfo
-
- Direct Known Subclasses:
TypeAnnotationInfo
public class AnnotationInfo extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAnnotationInfo.Constructor<A extends AnnotationInfo>
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringtypeElementValueInfo[]values
-
Constructor Summary
Constructors Constructor Description AnnotationInfo(java.lang.String type, ElementValueInfo[] values)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static intinfos_length(AnnotationInfo[] annotations)(package private) static AnnotationInforead(java.io.DataInput in, ConstantPool constant_pool)(package private) static <A extends AnnotationInfo>
Aread(java.io.DataInput in, ConstantPool constant_pool, AnnotationInfo.Constructor<A> constructor)(package private) static AnnotationInfo[]readInfos(java.io.DataInput in, ConstantPool constant_pool)java.lang.StringtoString()(package private) intvalue_length()(package private) voidwrite(java.io.DataOutput out, ConstantPool constant_pool)(package private) static voidwriteInfos(java.io.DataOutput out, ConstantPool constant_pool, AnnotationInfo[] annotations)
-
-
-
Field Detail
-
type
public final java.lang.String type
-
values
public final ElementValueInfo[] values
-
-
Constructor Detail
-
AnnotationInfo
public AnnotationInfo(java.lang.String type, ElementValueInfo[] values)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
read
static AnnotationInfo read(java.io.DataInput in, ConstantPool constant_pool) throws java.io.IOException
- Throws:
java.io.IOException
-
read
static <A extends AnnotationInfo> A read(java.io.DataInput in, ConstantPool constant_pool, AnnotationInfo.Constructor<A> constructor) throws java.io.IOException
- Throws:
java.io.IOException
-
write
void write(java.io.DataOutput out, ConstantPool constant_pool) throws java.io.IOException- Throws:
java.io.IOException
-
value_length
int value_length()
-
readInfos
static AnnotationInfo[] readInfos(java.io.DataInput in, ConstantPool constant_pool) throws java.io.IOException
- Throws:
java.io.IOException
-
writeInfos
static void writeInfos(java.io.DataOutput out, ConstantPool constant_pool, AnnotationInfo[] annotations) throws java.io.IOException- Throws:
java.io.IOException
-
infos_length
static int infos_length(AnnotationInfo[] annotations)
-
-