| Package | Description | 
|---|---|
| javassist.bytecode | Bytecode-level API. | 
| javassist.bytecode.annotation | Bytecode-level Annotations API. | 
| Modifier and Type | Method and Description | 
|---|---|
| Annotation | AnnotationsAttribute. getAnnotation(String type)Parses the annotations and returns a data structure representing
 the annotation with the specified type. | 
| Annotation[][] | ParameterAnnotationsAttribute. getAnnotations()Parses the annotations and returns a data structure representing
 that parsed annotations. | 
| Annotation[] | AnnotationsAttribute. getAnnotations()Parses the annotations and returns a data structure representing
 that parsed annotations. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | 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 of  Annotationobjects. | 
| void | ParameterAnnotationsAttribute. setAnnotations(Annotation[][] params)Changes the annotations represented by this object according to
 the given array of  Annotationobjects. | 
| Modifier and Type | Method and Description | 
|---|---|
| Annotation | AnnotationImpl. getAnnotation()Obtains the internal data structure representing the annotation. | 
| Annotation | AnnotationMemberValue. getValue()Obtains the value. | 
| Modifier and Type | Method and Description | 
|---|---|
| static 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. | 
| Constructor and Description | 
|---|
| AnnotationMemberValue(Annotation a,
                     ConstPool cp)Constructs an annotation member. | 
Copyright © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.