|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.devkit.model.code.AnnotationValue
org.mule.devkit.model.code.AnnotationArrayMember
public final class AnnotationArrayMember
Represents an arrays as annotation members
This class implementsAnnotable to allow
new annotations to be added as a member of the array.
| Method Summary | ||
|---|---|---|
GeneratedAnnotationUse |
annotate(Class<? extends Annotation> clazz)
Adds a new annotation to the array. |
|
GeneratedAnnotationUse |
annotate(TypeReference clazz)
Adds a new annotation to the array. |
|
|
annotate2(Class<W> clazz)
Adds an annotation to this program element and returns a type-safe writer to fill in the values of such annotations. |
|
Collection<GeneratedAnnotationUse> |
annotations()
Annotable.annotations() |
|
void |
generate(Formatter f)
|
|
AnnotationArrayMember |
param(boolean value)
Adds an array member to this annotation |
|
AnnotationArrayMember |
param(byte value)
Adds an array member to this annotation |
|
AnnotationArrayMember |
param(char value)
Adds an array member to this annotation |
|
AnnotationArrayMember |
param(Class<?> value)
Adds a class array member to this annotation |
|
AnnotationArrayMember |
param(double value)
Adds an array member to this annotation |
|
AnnotationArrayMember |
param(Enum<?> value)
Adds a enum array member to this annotation |
|
AnnotationArrayMember |
param(EnumConstant value)
Adds a enum array member to this annotation |
|
AnnotationArrayMember |
param(float value)
Adds an array member to this annotation |
|
AnnotationArrayMember |
param(GeneratedAnnotationUse value)
Deprecated. use annotate(java.lang.Class extends java.lang.annotation.Annotation>) |
|
AnnotationArrayMember |
param(GeneratedExpression value)
Adds an expression array member to this annotation |
|
AnnotationArrayMember |
param(int value)
Adds an array member to this annotation |
|
AnnotationArrayMember |
param(long value)
Adds an array member to this annotation |
|
AnnotationArrayMember |
param(short value)
Adds an array member to this annotation |
|
AnnotationArrayMember |
param(String value)
Adds an array member to this annotation |
|
AnnotationArrayMember |
param(Type type)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public AnnotationArrayMember param(String value)
value - Adds a string value to the array member
public AnnotationArrayMember param(boolean value)
value - Adds a boolean value to the array member
public AnnotationArrayMember param(byte value)
value - Adds a byte value to the array member
public AnnotationArrayMember param(char value)
value - Adds a char value to the array member
public AnnotationArrayMember param(double value)
value - Adds a double value to the array member
public AnnotationArrayMember param(long value)
value - Adds a long value to the array member
public AnnotationArrayMember param(short value)
value - Adds a short value to the array member
public AnnotationArrayMember param(int value)
value - Adds an int value to the array member
public AnnotationArrayMember param(float value)
value - Adds a float value to the array member
public AnnotationArrayMember param(Enum<?> value)
value - Adds a enum value to the array member
public AnnotationArrayMember param(EnumConstant value)
value - Adds a enum value to the array member
public AnnotationArrayMember param(GeneratedExpression value)
value - Adds an expression value to the array member
public AnnotationArrayMember param(Class<?> value)
value - Adds a class value to the array member
public AnnotationArrayMember param(Type type)
public GeneratedAnnotationUse annotate(Class<? extends Annotation> clazz)
annotate in interface Annotableclazz - The annotation class to annotate the program element withpublic GeneratedAnnotationUse annotate(TypeReference clazz)
annotate in interface Annotableclazz - The annotation class to annotate the program element withpublic <W extends AnnotationWriter> W annotate2(Class<W> clazz)
Annotable
annotate2 in interface Annotablepublic Collection<GeneratedAnnotationUse> annotations()
Annotable.annotations()
annotations in interface Annotablepublic AnnotationArrayMember param(GeneratedAnnotationUse value)
annotate(java.lang.Class extends java.lang.annotation.Annotation>)
value - Adds a annotation to the array member
public void generate(Formatter f)
generate in interface Generable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||