Class GetterFactory
java.lang.Object
net.anwiba.tools.generator.java.bean.factory.AbstractSourceFactory
net.anwiba.tools.generator.java.bean.factory.GetterFactory
-
Constructor Summary
ConstructorsConstructorDescriptionGetterFactory(com.sun.codemodel.JCodeModel codeModel, IFactory<String, Class<? extends Annotation>, CreationException> annotationClassfactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(com.sun.codemodel.JDefinedClass instance, boolean isNullable, boolean isCollectionNullable, List<Annotation> annotationConfigurations, IOptional<String, RuntimeException> comment, com.sun.codemodel.JFieldVar field, String name) Methods inherited from class net.anwiba.tools.generator.java.bean.factory.AbstractSourceFactory
_boolean, _class, _class, _class, _Class, _classByNames, _String, _type, _void, addTo, annotate, annotate, format, getCodeModel
-
Constructor Details
-
GetterFactory
public GetterFactory(com.sun.codemodel.JCodeModel codeModel, IFactory<String, Class<? extends Annotation>, CreationException> annotationClassfactory)
-
-
Method Details
-
create
public void create(com.sun.codemodel.JDefinedClass instance, boolean isNullable, boolean isCollectionNullable, List<Annotation> annotationConfigurations, IOptional<String, RuntimeException> comment, com.sun.codemodel.JFieldVar field, String name) throws CreationException- Throws:
CreationException
-