public interface AnnotationBuilder
AnnotationBuilder instances can be added to a code generation
execution using BuilderConfiguration.addAnnotationBuilder(AnnotationBuilder)| Modifier and Type | Method and Description |
|---|---|
void |
addClassAnnotations(ClassInfo classInfo,
JClass jClass)
add annotations to a JClass.
|
void |
addEnumAnnotations(SimpleType simpleType,
JEnum jEnums)
add annotations to a java5 enum.
|
void |
addEnumConstantAnnotations(Facet facet,
JEnumConstant enumConstant)
add annotations to a java5 enum constant.
|
void |
addFieldAnnotations(FieldInfo fieldInfo,
JField field)
add annotation to a property definition.
|
void |
addFieldGetterAnnotations(FieldInfo fieldInfo,
JMethod method)
add annotations to a getter of a property.
|
void addClassAnnotations(ClassInfo classInfo, JClass jClass)
classInfo - the classInfojClass - the jClassvoid addFieldAnnotations(FieldInfo fieldInfo, JField field)
fieldInfo - the fieldInfofield - the jFieldvoid addFieldGetterAnnotations(FieldInfo fieldInfo, JMethod method)
fieldInfo - the fieldInfomethod - the getter methodvoid addEnumAnnotations(SimpleType simpleType, JEnum jEnums)
simpleType - the corresponding simpleTypejEnums - the jEnumvoid addEnumConstantAnnotations(Facet facet, JEnumConstant enumConstant)
facet - the corresponding facetenumConstant - the jEnumConstantCopyright © 2016. All rights reserved.