Class AnnotationWrapper
java.lang.Object
org.vesalainen.bcc.annotation.AnnotationWrapper
- All Implemented Interfaces:
InvocationHandler, AnnotationMirror, Writable
public class AnnotationWrapper
extends Object
implements AnnotationMirror, Writable, InvocationHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DeclaredTypeprivate ClassFileprivate List<ElementValuePair> private Map<ExecutableElement, AnnotationValue> private Map<ExecutableElement, AnnotationValue> private final TypeElementprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<A extends Annotation>
AgetAnnotation(Class<A> annotationType) (package private) StringgetElement(String name) Deprecated.Map<? extends ExecutableElement, ? extends AnnotationValue> Map<? extends ExecutableElement, ? extends AnnotationValue> private ExecutableElementgetExecutableElement(String name) inttoString()voidwrite(DataOutput out)
-
Field Details
-
classFile
-
typeIndex
private int typeIndex -
annotationType
-
elementValues
-
elementValuesWithDefaults
-
elementValuePairs
-
typeElement
-
-
Constructor Details
-
AnnotationWrapper
- Throws:
IOException
-
-
Method Details
-
getExecutableElement
-
getAnnotationType
- Specified by:
getAnnotationTypein interfaceAnnotationMirror
-
getElementValues
- Specified by:
getElementValuesin interfaceAnnotationMirror
-
getElementValuesWithDefaults
-
getAnnotation
-
getDescriptor
String getDescriptor() -
getElement
-
getLength
public int getLength() -
write
- Specified by:
writein interfaceWritable- Throws:
IOException
-
toString
-
invoke
-