Class ToStringArguments

    • Constructor Detail

      • ToStringArguments

        public ToStringArguments​(com.sun.codemodel.JCodeModel codeModel,
                                 com.sun.codemodel.JVar stringBuilder,
                                 com.sun.codemodel.JVar value,
                                 com.sun.codemodel.JExpression hasSetValue,
                                 String fieldSeparator,
                                 String fieldName,
                                 boolean showChildItems,
                                 boolean hasDefaultValue)
    • Method Detail

      • getCodeModel

        public com.sun.codemodel.JCodeModel getCodeModel()
      • stringBuilder

        public com.sun.codemodel.JVar stringBuilder()
      • value

        public com.sun.codemodel.JVar value()
      • hasSetValue

        public com.sun.codemodel.JExpression hasSetValue()
      • getFieldSeparator

        public String getFieldSeparator()
      • getFieldName

        public String getFieldName()
      • isShowChildItems

        public boolean isShowChildItems()
      • hasDefaultValue

        public boolean hasDefaultValue()
      • ifHasSetValue

        public com.sun.codemodel.JBlock ifHasSetValue​(com.sun.codemodel.JBlock block,
                                                      boolean isAlwaysSet,
                                                      boolean checkForNullRequired)
        Specified by:
        ifHasSetValue in interface Arguments<ToStringArguments>
      • valueIsCollection

        public boolean valueIsCollection()