public class SetterFactory extends AbstractSourceFactory
| Constructor and Description |
|---|
SetterFactory(com.sun.codemodel.JCodeModel codeModel,
EnsurePredicateFactory ensurePredicateFactory) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.codemodel.JVar |
create(com.sun.codemodel.JDefinedClass instance,
boolean returnInstance,
com.sun.codemodel.JFieldVar field,
String name,
boolean isImutable,
boolean isNullable,
boolean isArrayNullable,
boolean isCollectionNullable,
List<Annotation> annotations) |
void |
create(com.sun.codemodel.JDefinedClass instance,
com.sun.codemodel.JFieldVar field,
String name,
boolean isImutable,
boolean isNullable,
List<Annotation> annotations,
com.sun.codemodel.JType nameType,
String nameVar,
com.sun.codemodel.JType valueType,
String value) |
public SetterFactory(com.sun.codemodel.JCodeModel codeModel,
EnsurePredicateFactory ensurePredicateFactory)
public void create(com.sun.codemodel.JDefinedClass instance,
com.sun.codemodel.JFieldVar field,
String name,
boolean isImutable,
boolean isNullable,
List<Annotation> annotations,
com.sun.codemodel.JType nameType,
String nameVar,
com.sun.codemodel.JType valueType,
String value)
public com.sun.codemodel.JVar create(com.sun.codemodel.JDefinedClass instance,
boolean returnInstance,
com.sun.codemodel.JFieldVar field,
String name,
boolean isImutable,
boolean isNullable,
boolean isArrayNullable,
boolean isCollectionNullable,
List<Annotation> annotations)
Copyright © 2007–2017 Andreas W. Bartels. All rights reserved.