public interface JAnnotation
Modifier and Type | Method and Description |
---|---|
JAnnotationArray |
annotationArrayValue(Class<? extends 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(String type)
Set the "value" property of this annotation to an array of nested annotations of the given type.
|
JAnnotationArray |
annotationArrayValue(String name,
Class<? extends Annotation> type)
Set the named property of this annotation to an array of nested annotations of the given type.
|
JAnnotationArray |
annotationArrayValue(String name,
JType type)
Set the named property of this annotation to an array of nested annotations of the given type.
|
JAnnotationArray |
annotationArrayValue(String name,
String type)
Set the named property of this annotation to an array of nested annotations of the given type.
|
JAnnotation |
annotationValue(Class<? extends 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(String type)
Set the "value" property of this annotation to a nested annotation of the given type.
|
JAnnotation |
annotationValue(String name,
Class<? extends Annotation> type)
Set the named property of this annotation to a nested annotation of the given type.
|
JAnnotation |
annotationValue(String name,
JType type)
Set the named property of this annotation to a nested annotation of the given type.
|
JAnnotation |
annotationValue(String name,
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(String literal)
Set the "value" property of this annotation to a string.
|
JAnnotation |
value(String name,
JExpr expr)
Set the named property of this annotation.
|
JAnnotation |
value(String name,
String literal)
Set the named property of this annotation to a string.
|
JAnnotation value(JExpr expr)
JExprs.array(JExpr...)
.expr
- the annotation valueJAnnotation value(String literal)
literal
- the annotation value stringJAnnotation annotationValue(String type)
type
- the annotation typeJAnnotation annotationValue(JType type)
type
- the annotation typeJAnnotation annotationValue(Class<? extends Annotation> type)
type
- the annotation typeJAnnotationArray annotationArrayValue(String type)
type
- the annotation array element typeJAnnotationArray annotationArrayValue(JType type)
type
- the annotation array element typeJAnnotationArray annotationArrayValue(Class<? extends Annotation> type)
type
- the annotation array element typeJAnnotation value(String name, JExpr expr)
JExprs.array(JExpr...)
.name
- the annotation property nameexpr
- the annotation valueJAnnotation value(String name, String literal)
name
- the annotation property nameliteral
- the annotation value stringJAnnotation annotationValue(String name, String type)
type
- the annotation typeJAnnotation annotationValue(String name, JType type)
type
- the annotation typeJAnnotation annotationValue(String name, Class<? extends Annotation> type)
type
- the annotation typeJAnnotationArray annotationArrayValue(String name, String type)
type
- the annotation array element typeJAnnotationArray annotationArrayValue(String name, JType type)
type
- the annotation array element typeJAnnotationArray annotationArrayValue(String name, Class<? extends Annotation> type)
type
- the annotation array element typeCopyright © 2019 JBoss by Red Hat. All rights reserved.