Class SetterFactory

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.sun.codemodel.JVar create​(com.sun.codemodel.JDefinedClass instance, boolean returnInstance, com.sun.codemodel.JFieldVar field, java.lang.String name, boolean isImutable, boolean isNullable, boolean isArrayNullable, boolean isCollectionNullable, java.util.List<Annotation> annotations, IOptional<java.lang.String,​java.lang.RuntimeException> comment)  
      void create​(com.sun.codemodel.JDefinedClass instance, com.sun.codemodel.JFieldVar field, java.lang.String name, boolean isImutable, boolean isNullable, java.util.List<Annotation> annotations, IOptional<java.lang.String,​java.lang.RuntimeException> comment, com.sun.codemodel.JType nameType, java.lang.String nameVar, com.sun.codemodel.JType valueType, java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SetterFactory

        public SetterFactory​(com.sun.codemodel.JCodeModel codeModel,
                             EnsurePredicateFactory ensurePredicateFactory)
    • Method Detail

      • create

        public void create​(com.sun.codemodel.JDefinedClass instance,
                           com.sun.codemodel.JFieldVar field,
                           java.lang.String name,
                           boolean isImutable,
                           boolean isNullable,
                           java.util.List<Annotation> annotations,
                           IOptional<java.lang.String,​java.lang.RuntimeException> comment,
                           com.sun.codemodel.JType nameType,
                           java.lang.String nameVar,
                           com.sun.codemodel.JType valueType,
                           java.lang.String value)
                    throws CreationException
        Throws:
        CreationException
      • create

        public com.sun.codemodel.JVar create​(com.sun.codemodel.JDefinedClass instance,
                                             boolean returnInstance,
                                             com.sun.codemodel.JFieldVar field,
                                             java.lang.String name,
                                             boolean isImutable,
                                             boolean isNullable,
                                             boolean isArrayNullable,
                                             boolean isCollectionNullable,
                                             java.util.List<Annotation> annotations,
                                             IOptional<java.lang.String,​java.lang.RuntimeException> comment)
                                      throws CreationException
        Throws:
        CreationException