public static enum TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple extends java.lang.Enum<TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple> implements TypeDescription.SuperTypeLoading.ClassLoadingDelegate
TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
load(java.lang.String name,
java.lang.ClassLoader classLoader)
Loads a type.
|
static TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple INSTANCE
public static TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple[] values()
for (TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple c : TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple.values()) System.out.println(c);
public static TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple 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.Class<?> load(java.lang.String name, java.lang.ClassLoader classLoader) throws java.lang.ClassNotFoundException
load
in interface TypeDescription.SuperTypeLoading.ClassLoadingDelegate
name
- The type's name,classLoader
- The class loader to load the type from which might be null
to represent the bootstrap class loader.java.lang.ClassNotFoundException
- If the type could not be found.