Package com.mchange.v2.codegen.bean
Class BeangenUtils
java.lang.Object
com.mchange.v2.codegen.bean.BeangenUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringcapitalize(String propName) static booleanhasBoundProperties(Property[] props) static booleanhasConstrainedProperties(Property[] props) static voidwriteArgList(Property[] props, boolean declare_types, IndentedWriter iw) static voidwriteExplicitDefaultConstructor(int ctor_modifiers, ClassInfo info, IndentedWriter iw) static voidwritePropertyGetter(Property prop, IndentedWriter iw) static voidwritePropertyGetter(Property prop, String defensiveCopyExpression, IndentedWriter iw) static voidwritePropertyMember(Property prop, IndentedWriter iw) Deprecated.use writePropertyVariablestatic voidwritePropertyMember(Property prop, String defaultValueExpression, IndentedWriter iw) Deprecated.use writePropertyVariablestatic voidwritePropertySetter(Property prop, IndentedWriter iw) static voidwritePropertySetter(Property prop, String setterDefensiveCopyExpression, IndentedWriter iw) static voidwritePropertySetterWithGetExpressionSetStatement(Property prop, String getExpression, String setStatement, IndentedWriter iw) static voidwritePropertyVariable(Property prop, IndentedWriter iw) static voidwritePropertyVariable(Property prop, String defaultValueExpression, IndentedWriter iw)
-
Field Details
-
PROPERTY_COMPARATOR
-
-
Method Details
-
capitalize
-
writeExplicitDefaultConstructor
public static void writeExplicitDefaultConstructor(int ctor_modifiers, ClassInfo info, IndentedWriter iw) throws IOException - Throws:
IOException
-
writeArgList
public static void writeArgList(Property[] props, boolean declare_types, IndentedWriter iw) throws IOException - Throws:
IOException
-
writePropertyMember
Deprecated.use writePropertyVariable- Throws:
IOException
-
writePropertyVariable
- Throws:
IOException
-
writePropertyMember
public static void writePropertyMember(Property prop, String defaultValueExpression, IndentedWriter iw) throws IOException Deprecated.use writePropertyVariable- Throws:
IOException
-
writePropertyVariable
public static void writePropertyVariable(Property prop, String defaultValueExpression, IndentedWriter iw) throws IOException - Throws:
IOException
-
writePropertyGetter
- Throws:
IOException
-
writePropertyGetter
public static void writePropertyGetter(Property prop, String defensiveCopyExpression, IndentedWriter iw) throws IOException - Throws:
IOException
-
writePropertySetter
- Throws:
IOException
-
writePropertySetter
public static void writePropertySetter(Property prop, String setterDefensiveCopyExpression, IndentedWriter iw) throws IOException - Throws:
IOException
-
writePropertySetterWithGetExpressionSetStatement
public static void writePropertySetterWithGetExpressionSetStatement(Property prop, String getExpression, String setStatement, IndentedWriter iw) throws IOException - Throws:
IOException
-
hasBoundProperties
-
hasConstrainedProperties
-