Package | Description |
---|---|
org.mule.devkit.model.code |
Library for generating Java source code
|
Modifier and Type | Method and Description |
---|---|
GeneratedAnnotationUse |
GeneratedVariable.annotate(Class<? extends Annotation> clazz)
Adds an annotation to this variable.
|
GeneratedAnnotationUse |
GeneratedPackage.annotate(Class<? extends Annotation> clazz) |
GeneratedAnnotationUse |
GeneratedMethod.annotate(Class<? extends Annotation> clazz)
Adds an annotation to this variable.
|
GeneratedAnnotationUse |
GeneratedClass.annotate(Class<? extends Annotation> clazz)
Adding ability to annotate a class
|
GeneratedAnnotationUse |
GeneratedAnnotationUse.annotate(Class<? extends Annotation> clazz)
|
GeneratedAnnotationUse |
EnumConstant.annotate(Class<? extends Annotation> clazz)
Adds an annotation to this variable.
|
GeneratedAnnotationUse |
AnnotationArrayMember.annotate(Class<? extends Annotation> clazz)
Adds a new annotation to the array.
|
GeneratedAnnotationUse |
Annotable.annotate(Class<? extends Annotation> clazz)
Adds an annotation to this program element.
|
GeneratedAnnotationUse |
GeneratedVariable.annotate(TypeReference clazz)
Adds an annotation to this variable.
|
GeneratedAnnotationUse |
GeneratedPackage.annotate(TypeReference clazz) |
GeneratedAnnotationUse |
GeneratedMethod.annotate(TypeReference clazz)
Adds an annotation to this variable.
|
GeneratedAnnotationUse |
GeneratedClass.annotate(TypeReference clazz)
Adding ability to annotate a class
|
GeneratedAnnotationUse |
EnumConstant.annotate(TypeReference clazz)
Adds an annotation to this variable.
|
GeneratedAnnotationUse |
AnnotationArrayMember.annotate(TypeReference clazz)
Adds a new annotation to the array.
|
GeneratedAnnotationUse |
Annotable.annotate(TypeReference clazz)
Adds an annotation to this program element.
|
GeneratedAnnotationUse |
GeneratedAnnotationUse.annotationParam(String name,
Class<? extends Annotation> value)
Adds a member value pair to this annotation
For adding class values as param
|
GeneratedAnnotationUse |
AnnotationWriter.getAnnotationUse()
Gets the underlying annotation use object to which we are writing.
|
GeneratedAnnotationUse |
GeneratedAnnotationUse.param(String name,
boolean value)
Adds a member value pair to this annotation
|
GeneratedAnnotationUse |
GeneratedAnnotationUse.param(String name,
byte value)
Adds a member value pair to this annotation
|
GeneratedAnnotationUse |
GeneratedAnnotationUse.param(String name,
char value)
Adds a member value pair to this annotation
|
GeneratedAnnotationUse |
GeneratedAnnotationUse.param(String name,
Class<?> value)
Adds a member value pair to this annotation
This can be used for e.g to specify
|
GeneratedAnnotationUse |
GeneratedAnnotationUse.param(String name,
double value)
Adds a member value pair to this annotation
|
GeneratedAnnotationUse |
GeneratedAnnotationUse.param(String name,
Enum<?> value)
Adds a member value pair to this annotation
|
GeneratedAnnotationUse |
GeneratedAnnotationUse.param(String name,
EnumConstant value)
Adds a member value pair to this annotation
|
GeneratedAnnotationUse |
GeneratedAnnotationUse.param(String name,
float value)
Adds a member value pair to this annotation
|
GeneratedAnnotationUse |
GeneratedAnnotationUse.param(String name,
GeneratedExpression value)
Adds a member value pair to this annotation.
|
GeneratedAnnotationUse |
GeneratedAnnotationUse.param(String name,
int value)
Adds a member value pair to this annotation
|
GeneratedAnnotationUse |
GeneratedAnnotationUse.param(String name,
long value)
Adds a member value pair to this annotation
|
GeneratedAnnotationUse |
GeneratedAnnotationUse.param(String name,
short value)
Adds a member value pair to this annotation
|
GeneratedAnnotationUse |
GeneratedAnnotationUse.param(String name,
String value)
Adds a member value pair to this annotation
|
GeneratedAnnotationUse |
GeneratedAnnotationUse.param(String name,
Type type)
Adds a member value pair to this annotation based on the
type represented by the given Type
|
Modifier and Type | Method and Description |
---|---|
Collection<GeneratedAnnotationUse> |
GeneratedVariable.annotations() |
Collection<GeneratedAnnotationUse> |
GeneratedPackage.annotations() |
Collection<GeneratedAnnotationUse> |
GeneratedMethod.annotations() |
Collection<GeneratedAnnotationUse> |
GeneratedClass.annotations()
|
Collection<GeneratedAnnotationUse> |
EnumConstant.annotations()
|
Collection<GeneratedAnnotationUse> |
AnnotationArrayMember.annotations()
|
Collection<GeneratedAnnotationUse> |
Annotable.annotations()
Read-only live view of all annotations on this
Annotable |
Modifier and Type | Method and Description |
---|---|
AnnotationArrayMember |
AnnotationArrayMember.param(GeneratedAnnotationUse value)
|
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.