| Modifier and Type | Method and Description |
|---|---|
| public JAnnotationUse | |
| public JAnnotationUse | annotate(Class<? extends Annotation>
The annotation class to annotate the program element with clazz)Adds an annotation to this program element. |
| public <W extends JAnnotationWriter | |
| public Collection | |
| public boolean | removeAnnotation(JAnnotationUse
The annotation to be removed from the program element annotation)Removes annotation from this program element. |
| annotate | back to summary |
|---|---|
| public JAnnotationUse annotate(JClass clazz) Adds an annotation to this program element.
| |
| annotate | back to summary |
|---|---|
| public JAnnotationUse annotate(Class<? extends Annotation> clazz) Adds an annotation to this program element.
| |
| annotate2 | back to summary |
|---|---|
| public <W extends JAnnotationWriter Adds an annotation to this program element and returns a type-safe writer to fill in the values of such annotations. | |
| annotations | back to summary |
|---|---|
| public Collection Read-only live view of all annotations on this
| |
| removeAnnotation | back to summary |
|---|---|
| public boolean removeAnnotation(JAnnotationUse annotation) Removes annotation from this program element.
| |