public enum InstanceProvider extends java.lang.Enum<InstanceProvider>
Modifier and Type | Field and Description |
---|---|
java.lang.Class<?> |
CLASS |
java.lang.String |
PATH |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
create(ConstructorExpression def) |
abstract ClassMapping |
getMapping() |
static InstanceProvider |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InstanceProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceProvider SYSTEM
public static final InstanceProvider SOURCE
public static final InstanceProvider OBJECT
public static InstanceProvider[] values()
for (InstanceProvider c : InstanceProvider.values()) System.out.println(c);
public static InstanceProvider valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.Object create(ConstructorExpression def)
public abstract ClassMapping getMapping()