| Package | Description |
|---|---|
| aQute.bnd.classfile |
This package provides an object model and parser for Java class files.
|
| aQute.bnd.osgi |
| Modifier and Type | Field and Description |
|---|---|
TypeAnnotationInfo[] |
TypeAnnotationsAttribute.type_annotations |
| Modifier and Type | Method and Description |
|---|---|
(package private) static TypeAnnotationInfo |
TypeAnnotationInfo.parseTypeAnnotationInfo(java.io.DataInput in,
ConstantPool constant_pool) |
| Constructor and Description |
|---|
RuntimeInvisibleTypeAnnotationsAttribute(TypeAnnotationInfo[] type_annotations) |
RuntimeVisibleTypeAnnotationsAttribute(TypeAnnotationInfo[] type_annotations) |
TypeAnnotationsAttribute(TypeAnnotationInfo[] type_annotations) |
| Modifier and Type | Method and Description |
|---|---|
(package private) <A extends TypeAnnotationsAttribute> |
Clazz.ElementDef.typeAnnotationInfos(java.lang.Class<A> attributeType) |
(package private) <A extends TypeAnnotationsAttribute> |
Clazz.MethodDef.typeAnnotationInfos(java.lang.Class<A> attributeType)
We must also look in the method's Code attribute for type
annotations.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) TypeAnnotation |
Clazz.newTypeAnnotation(TypeAnnotationInfo annotationInfo,
Annotation.ElementType elementType,
java.lang.annotation.RetentionPolicy policy,
int access_flags) |