Top Fields Constructors Methods
com.mchange.v2.codegen.bean

public final Class BeangenUtils

extends Object
Class Inheritance
Imports
java.util.Comparator, java.io.IOException, java.lang.reflect.Modifier, com.mchange.v1.lang.ClassUtils, com.mchange.v2.codegen.CodegenUtils, .IndentedWriter

Field Summary

Modifier and TypeField and Description
public static final Comparator<T>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static String
capitalize(String propName)

private static boolean
public static boolean
public static boolean
public static void
writeArgList(Property[] props, boolean declare_types, IndentedWriter iw)
Deprecated as a consequence of IndentedWriter being deprecated.

public static void
writeExplicitDefaultConstructor(int ctor_modifiers, ClassInfo info, IndentedWriter iw)
Deprecated as a consequence of IndentedWriter being deprecated.

public static void
writePropertyGetter(Property prop, IndentedWriter iw)
Deprecated as a consequence of IndentedWriter being deprecated.

public static void
writePropertyGetter(Property prop, String defensiveCopyExpression, IndentedWriter iw)
Deprecated as a consequence of IndentedWriter being deprecated.

public static void
writePropertyMember(Property prop, IndentedWriter iw)
Deprecated use writePropertyVariable

public static void
writePropertyMember(Property prop, String defaultValueExpression, IndentedWriter iw)
Deprecated use writePropertyVariable

public static void
writePropertySetter(Property prop, IndentedWriter iw)
Deprecated as a consequence of IndentedWriter being deprecated.

public static void
writePropertySetter(Property prop, String setterDefensiveCopyExpression, IndentedWriter iw)
Deprecated as a consequence of IndentedWriter being deprecated.

public static void
writePropertySetterWithGetExpressionSetStatement(Property prop, String getExpression, String setStatement, IndentedWriter iw)
Deprecated as a consequence of IndentedWriter being deprecated.

public static void
writePropertyVariable(Property prop, IndentedWriter iw)
Deprecated as a consequence of IndentedWriter being deprecated.

public static void
writePropertyVariable(Property prop, String defaultValueExpression, IndentedWriter iw)
Deprecated as a consequence of IndentedWriter being deprecated.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

PROPERTY_COMPARATORback to summary
public static final Comparator<T> PROPERTY_COMPARATOR

Constructor Detail

BeangenUtilsback to summary
private BeangenUtils()

Method Detail

capitalizeback to summary
public static String capitalize(String propName)
changeMarkedback to summary
private static boolean changeMarked(Property prop)
hasBoundPropertiesback to summary
public static boolean hasBoundProperties(Property[] props)
hasConstrainedPropertiesback to summary
public static boolean hasConstrainedProperties(Property[] props)
writeArgListback to summary
public static void writeArgList(Property[] props, boolean declare_types, IndentedWriter iw) throws IOException

Deprecated

as a consequence of IndentedWriter being deprecated. See corresponding docs for further information.

writeExplicitDefaultConstructorback to summary
public static void writeExplicitDefaultConstructor(int ctor_modifiers, ClassInfo info, IndentedWriter iw) throws IOException

Deprecated

as a consequence of IndentedWriter being deprecated. See corresponding docs for further information.

writePropertyGetterback to summary
public static void writePropertyGetter(Property prop, IndentedWriter iw) throws IOException

Deprecated

as a consequence of IndentedWriter being deprecated. See corresponding docs for further information.

writePropertyGetterback to summary
public static void writePropertyGetter(Property prop, String defensiveCopyExpression, IndentedWriter iw) throws IOException

Deprecated

as a consequence of IndentedWriter being deprecated. See corresponding docs for further information.

writePropertyMemberback to summary
public static void writePropertyMember(Property prop, IndentedWriter iw) throws IOException

Deprecated

use writePropertyVariable

writePropertyMemberback to summary
public static void writePropertyMember(Property prop, String defaultValueExpression, IndentedWriter iw) throws IOException

Deprecated

use writePropertyVariable

writePropertySetterback to summary
public static void writePropertySetter(Property prop, IndentedWriter iw) throws IOException

Deprecated

as a consequence of IndentedWriter being deprecated. See corresponding docs for further information.

writePropertySetterback to summary
public static void writePropertySetter(Property prop, String setterDefensiveCopyExpression, IndentedWriter iw) throws IOException

Deprecated

as a consequence of IndentedWriter being deprecated. See corresponding docs for further information.

writePropertySetterWithGetExpressionSetStatementback to summary
public static void writePropertySetterWithGetExpressionSetStatement(Property prop, String getExpression, String setStatement, IndentedWriter iw) throws IOException

Deprecated

as a consequence of IndentedWriter being deprecated. See corresponding docs for further information.

writePropertyVariableback to summary
public static void writePropertyVariable(Property prop, IndentedWriter iw) throws IOException

Deprecated

as a consequence of IndentedWriter being deprecated. See corresponding docs for further information.

writePropertyVariableback to summary
public static void writePropertyVariable(Property prop, String defaultValueExpression, IndentedWriter iw) throws IOException

Deprecated

as a consequence of IndentedWriter being deprecated. See corresponding docs for further information.