public enum ClassType extends Enum<ClassType>
ClassType defines the types a class can have.| Enum Constant and Description |
|---|
ANNOTATION
The annotation class type.
|
ANONYMOUS
The anonymous class type.
|
ARRAY
The array class type.
|
COLLECTION
The collection class type.
|
DEFAULT
The default class type.
|
ENUM
The enum class type.
|
INTERFACE
The interface class type.
|
LOCAL
The local class type.
|
MAP
The map class type.
|
MEMBER
The member class type.
|
PRIMITIVE
The primitive class type.
|
SYNTHETIC
The synthetic class type.
|
| Modifier and Type | Method and Description |
|---|---|
static ClassType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassType ANNOTATION
public static final ClassType ANONYMOUS
public static final ClassType ARRAY
public static final ClassType COLLECTION
public static final ClassType DEFAULT
public static final ClassType ENUM
public static final ClassType INTERFACE
public static final ClassType LOCAL
public static final ClassType MAP
public static final ClassType MEMBER
public static final ClassType PRIMITIVE
public static final ClassType SYNTHETIC
public static ClassType[] values()
for (ClassType c : ClassType.values()) System.out.println(c);
public static ClassType 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–2019 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.