Package aQute.bnd.classfile
Class TypeAnnotationInfo
- java.lang.Object
-
- aQute.bnd.classfile.AnnotationInfo
-
- aQute.bnd.classfile.TypeAnnotationInfo
-
public class TypeAnnotationInfo extends AnnotationInfo
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class aQute.bnd.classfile.AnnotationInfo
AnnotationInfo.Constructor<A extends AnnotationInfo>
-
-
Field Summary
Fields Modifier and Type Field Description inttarget_indexbyte[]target_infointtarget_typebyte[]type_pathstatic intTYPEUSE_INDEX_NONEstatic intTYPEUSE_TARGET_INDEX_EXTENDS-
Fields inherited from class aQute.bnd.classfile.AnnotationInfo
type, values
-
-
Constructor Summary
Constructors Constructor Description TypeAnnotationInfo(int target_type, byte[] target_info, int target_index, byte[] type_path, java.lang.String type, ElementValueInfo[] values)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static TypeAnnotationInforead(java.io.DataInput in, ConstantPool constant_pool)java.lang.StringtoString()(package private) intvalue_length()(package private) voidwrite(java.io.DataOutput out, ConstantPool constant_pool)-
Methods inherited from class aQute.bnd.classfile.AnnotationInfo
infos_length, read, readInfos, writeInfos
-
-
-
-
Field Detail
-
TYPEUSE_INDEX_NONE
public static final int TYPEUSE_INDEX_NONE
- See Also:
- Constant Field Values
-
TYPEUSE_TARGET_INDEX_EXTENDS
public static final int TYPEUSE_TARGET_INDEX_EXTENDS
- See Also:
- Constant Field Values
-
target_type
public final int target_type
-
target_info
public final byte[] target_info
-
target_index
public final int target_index
-
type_path
public final byte[] type_path
-
-
Constructor Detail
-
TypeAnnotationInfo
public TypeAnnotationInfo(int target_type, byte[] target_info, int target_index, byte[] type_path, java.lang.String type, ElementValueInfo[] values)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAnnotationInfo
-
read
static TypeAnnotationInfo read(java.io.DataInput in, ConstantPool constant_pool) throws java.io.IOException
- Throws:
java.io.IOException
-
write
void write(java.io.DataOutput out, ConstantPool constant_pool) throws java.io.IOException- Overrides:
writein classAnnotationInfo- Throws:
java.io.IOException
-
value_length
int value_length()
- Overrides:
value_lengthin classAnnotationInfo
-
-