private static enum Types.ClassOwnership extends java.lang.Enum<Types.ClassOwnership>
ParameterizedType
from a raw class.Enum Constant and Description |
---|
LOCAL_CLASS_HAS_NO_OWNER |
OWNED_BY_ENCLOSING_CLASS |
Modifier and Type | Field and Description |
---|---|
(package private) static Types.ClassOwnership |
JVM_BEHAVIOR |
Modifier and Type | Method and Description |
---|---|
private static Types.ClassOwnership |
detectJvmBehavior() |
(package private) abstract java.lang.Class<?> |
getOwnerType(java.lang.Class<?> rawType) |
static Types.ClassOwnership |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Types.ClassOwnership[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types.ClassOwnership OWNED_BY_ENCLOSING_CLASS
public static final Types.ClassOwnership LOCAL_CLASS_HAS_NO_OWNER
static final Types.ClassOwnership JVM_BEHAVIOR
public static Types.ClassOwnership[] values()
for (Types.ClassOwnership c : Types.ClassOwnership.values()) System.out.println(c);
public static Types.ClassOwnership 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 nullabstract java.lang.Class<?> getOwnerType(java.lang.Class<?> rawType)
private static Types.ClassOwnership detectJvmBehavior()