public interface JAnnotatable
| Modifier and Type | Method and Description |
|---|---|
JAnnotation |
annotate(Class<? extends Annotation> type)
Add an annotation.
|
JAnnotation |
annotate(JType type)
Add an annotation.
|
JAnnotation |
annotate(String type)
Add an annotation.
|
JAnnotation annotate(String type)
type - the type of the annotation to addJAnnotation annotate(JType type)
type - the type of the annotation to addJAnnotation annotate(Class<? extends Annotation> type)
type - the type of the annotation to addCopyright © 2015. All rights reserved.