public interface JAnnotation
| Modifier and Type | Method and Description |
|---|---|
JAnnotationArray |
annotationArrayValue(java.lang.Class<? extends java.lang.annotation.Annotation> type)
Set the "value" property of this annotation to an array of nested annotations of the given type.
|
JAnnotationArray |
annotationArrayValue(JType type)
Set the "value" property of this annotation to an array of nested annotations of the given type.
|
JAnnotationArray |
annotationArrayValue(java.lang.String type)
Set the "value" property of this annotation to an array of nested annotations of the given type.
|
JAnnotationArray |
annotationArrayValue(java.lang.String name,
java.lang.Class<? extends java.lang.annotation.Annotation> type)
Set the named property of this annotation to an array of nested annotations of the given type.
|
JAnnotationArray |
annotationArrayValue(java.lang.String name,
JType type)
Set the named property of this annotation to an array of nested annotations of the given type.
|
JAnnotationArray |
annotationArrayValue(java.lang.String name,
java.lang.String type)
Set the named property of this annotation to an array of nested annotations of the given type.
|
JAnnotation |
annotationValue(java.lang.Class<? extends java.lang.annotation.Annotation> type)
Set the "value" property of this annotation to a nested annotation of the given type.
|
JAnnotation |
annotationValue(JType type)
Set the "value" property of this annotation to a nested annotation of the given type.
|
JAnnotation |
annotationValue(java.lang.String type)
Set the "value" property of this annotation to a nested annotation of the given type.
|
JAnnotation |
annotationValue(java.lang.String name,
java.lang.Class<? extends java.lang.annotation.Annotation> type)
Set the named property of this annotation to a nested annotation of the given type.
|
JAnnotation |
annotationValue(java.lang.String name,
JType type)
Set the named property of this annotation to a nested annotation of the given type.
|
JAnnotation |
annotationValue(java.lang.String name,
java.lang.String type)
Set the named property of this annotation to a nested annotation of the given type.
|
JAnnotation |
value(JExpr expr)
Set the "value" property of this annotation.
|
JAnnotation |
value(java.lang.String literal)
Set the "value" property of this annotation to a string.
|
JAnnotation |
value(java.lang.String name,
JExpr expr)
Set the named property of this annotation.
|
JAnnotation |
value(java.lang.String name,
java.lang.String literal)
Set the named property of this annotation to a string.
|
JAnnotation value(JExpr expr)
JExprs.array(JExpr...).expr - the annotation valueJAnnotation value(java.lang.String literal)
literal - the annotation value stringJAnnotation annotationValue(java.lang.String type)
type - the annotation typeJAnnotation annotationValue(JType type)
type - the annotation typeJAnnotation annotationValue(java.lang.Class<? extends java.lang.annotation.Annotation> type)
type - the annotation typeJAnnotationArray annotationArrayValue(java.lang.String type)
type - the annotation array element typeJAnnotationArray annotationArrayValue(JType type)
type - the annotation array element typeJAnnotationArray annotationArrayValue(java.lang.Class<? extends java.lang.annotation.Annotation> type)
type - the annotation array element typeJAnnotation value(java.lang.String name, JExpr expr)
JExprs.array(JExpr...).name - the annotation property nameexpr - the annotation valueJAnnotation value(java.lang.String name, java.lang.String literal)
name - the annotation property nameliteral - the annotation value stringJAnnotation annotationValue(java.lang.String name, java.lang.String type)
type - the annotation typeJAnnotation annotationValue(java.lang.String name, JType type)
type - the annotation typeJAnnotation annotationValue(java.lang.String name, java.lang.Class<? extends java.lang.annotation.Annotation> type)
type - the annotation typeJAnnotationArray annotationArrayValue(java.lang.String name, java.lang.String type)
type - the annotation array element typeJAnnotationArray annotationArrayValue(java.lang.String name, JType type)
type - the annotation array element typeJAnnotationArray annotationArrayValue(java.lang.String name, java.lang.Class<? extends java.lang.annotation.Annotation> type)
type - the annotation array element type