public static enum KotlinClass.Kind extends Enum<KotlinClass.Kind>
Enum Constant and Description |
---|
ANONYMOUS_OBJECT |
CLASS |
LOCAL_CLASS
A class has kind LOCAL_CLASS if and only if it's not an anonymous object and its first non-class container is not a package.
|
Modifier and Type | Method and Description |
---|---|
static KotlinClass.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KotlinClass.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KotlinClass.Kind CLASS
public static final KotlinClass.Kind LOCAL_CLASS
public static final KotlinClass.Kind ANONYMOUS_OBJECT
public static KotlinClass.Kind[] values()
for (KotlinClass.Kind c : KotlinClass.Kind.values()) System.out.println(c);
public static KotlinClass.Kind 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 nullCopyright © 2015. All Rights Reserved.