Uses of Class
javassist.bytecode.annotation.Annotation
Package
Description
Bytecode-level API.
Bytecode-level Annotations API.
-
Uses of Annotation in javassist.bytecode
Modifier and TypeMethodDescriptionAnnotationsAttribute.getAnnotation
(String type) Parses the annotations and returns a data structure representing the annotation with the specified type.AnnotationsAttribute.getAnnotations()
Parses the annotations and returns a data structure representing that parsed annotations.Annotation[][]
ParameterAnnotationsAttribute.getAnnotations()
Parses the annotations and returns a data structure representing that parsed annotations.Modifier and TypeMethodDescriptionvoid
AnnotationsAttribute.addAnnotation
(Annotation annotation) Adds an annotation.void
AnnotationsAttribute.setAnnotation
(Annotation annotation) Changes the annotations.void
AnnotationsAttribute.setAnnotations
(Annotation[] annotations) Changes the annotations represented by this object according to the given array ofAnnotation
objects.void
ParameterAnnotationsAttribute.setAnnotations
(Annotation[][] params) Changes the annotations represented by this object according to the given array ofAnnotation
objects. -
Uses of Annotation in javassist.bytecode.annotation
Modifier and TypeMethodDescriptionAnnotationImpl.getAnnotation()
Obtains the internal data structure representing the annotation.AnnotationMemberValue.getValue()
Obtains the value.Modifier and TypeMethodDescriptionstatic Object
AnnotationImpl.make
(ClassLoader cl, Class<?> clazz, ClassPool cp, Annotation anon) Constructs an annotation object.void
AnnotationMemberValue.setValue
(Annotation newValue) Sets the value of this member.ModifierConstructorDescriptionConstructs an annotation member.