Modifier and Type | Method and Description |
---|---|
JAnnotation |
JAnnotationArray.add()
Add an annotation of the array's type to the array.
|
JAnnotation |
JAnnotatable.annotate(Class<? extends Annotation> type)
Add an annotation.
|
JAnnotation |
JAnnotatable.annotate(JType type)
Add an annotation.
|
JAnnotation |
JAnnotatable.annotate(String type)
Add an annotation.
|
JAnnotation |
JAnnotation.annotationValue(Class<? extends Annotation> type)
Set the "value" property of this annotation to a nested annotation of the given type.
|
JAnnotation |
JAnnotation.annotationValue(JType type)
Set the "value" property of this annotation to a nested annotation of the given type.
|
JAnnotation |
JAnnotation.annotationValue(String type)
Set the "value" property of this annotation to a nested annotation of the given type.
|
JAnnotation |
JAnnotation.annotationValue(String name,
Class<? extends Annotation> type)
Set the named property of this annotation to a nested annotation of the given type.
|
JAnnotation |
JAnnotation.annotationValue(String name,
JType type)
Set the named property of this annotation to a nested annotation of the given type.
|
JAnnotation |
JAnnotation.annotationValue(String name,
String type)
Set the named property of this annotation to a nested annotation of the given type.
|
JAnnotation |
JAnnotation.value(JExpr expr)
Set the "value" property of this annotation.
|
JAnnotation |
JAnnotation.value(String literal)
Set the "value" property of this annotation to a string.
|
JAnnotation |
JAnnotation.value(String name,
JExpr expr)
Set the named property of this annotation.
|
JAnnotation |
JAnnotation.value(String name,
String literal)
Set the named property of this annotation to a string.
|
Copyright © 2016. All rights reserved.