public static enum AbstractTypeMaterializer.Feature extends Enum<AbstractTypeMaterializer.Feature>
Enum Constant and Description |
---|
FAIL_ON_NON_PUBLIC_TYPES
Feature that determines what happens when attempt is made to
generate implementation of non-public class or interface.
|
FAIL_ON_UNMATERIALIZED_METHOD
Feature that determines what happens if an "unrecognized"
(non-getter, non-setter) abstract method is encountered: if set to
true, will throw an exception during materialization; if false,
will materialize method that throws exception only if called.
|
Modifier and Type | Method and Description |
---|---|
protected static int |
collectDefaults() |
boolean |
enabledByDefault() |
int |
getMask() |
static AbstractTypeMaterializer.Feature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractTypeMaterializer.Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractTypeMaterializer.Feature FAIL_ON_UNMATERIALIZED_METHOD
public static final AbstractTypeMaterializer.Feature FAIL_ON_NON_PUBLIC_TYPES
public static AbstractTypeMaterializer.Feature[] values()
for (AbstractTypeMaterializer.Feature c : AbstractTypeMaterializer.Feature.values()) System.out.println(c);
public static AbstractTypeMaterializer.Feature 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 nullprotected static int collectDefaults()
public boolean enabledByDefault()
public int getMask()