public enum FluentMethodType extends Enum<FluentMethodType>
Enum Constant and Description |
---|
FLUENT_COLLECTION_SETTER |
FLUENT_LIST_SETTER |
FLUENT_SETTER |
Modifier and Type | Field and Description |
---|---|
static String |
FLUENT_SETTER_METHOD_PREFIX |
static String |
GETTER_METHOD_PREFIX |
static int |
GETTER_METHOD_PREFIX_LEN |
static String |
PARAMETERIZED_LIST_PREFIX |
static String |
SETTER_METHOD_PREFIX |
static int |
SETTER_METHOD_PREFIX_LEN |
Modifier and Type | Method and Description |
---|---|
abstract void |
createFluentMethod(com.sun.codemodel.JDefinedClass implClass,
FluentMethodInfo fluentMethodInfo) |
static FluentMethodType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FluentMethodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FluentMethodType FLUENT_SETTER
public static final FluentMethodType FLUENT_LIST_SETTER
public static final FluentMethodType FLUENT_COLLECTION_SETTER
public static final String GETTER_METHOD_PREFIX
public static final String SETTER_METHOD_PREFIX
public static final String FLUENT_SETTER_METHOD_PREFIX
public static final String PARAMETERIZED_LIST_PREFIX
public static final int SETTER_METHOD_PREFIX_LEN
public static final int GETTER_METHOD_PREFIX_LEN
public static FluentMethodType[] values()
for (FluentMethodType c : FluentMethodType.values()) System.out.println(c);
public static FluentMethodType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract void createFluentMethod(com.sun.codemodel.JDefinedClass implClass, FluentMethodInfo fluentMethodInfo)
Copyright © 2018. All rights reserved.