public enum ObjectTypeKind extends Enum<ObjectTypeKind> implements DeclarationKind
Enum Constant and Description |
---|
ANNOTATION
Annotation type.
|
CLASS
Regular class type (not
enum type ). |
ENUM
Enum type.
|
INTERFACE
Regular interface type (not
annotation type ). |
Modifier and Type | Method and Description |
---|---|
boolean |
isClassLike()
Whether this type kind is class like type or not.
|
static ObjectTypeKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectTypeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectTypeKind CLASS
enum type
).public static final ObjectTypeKind INTERFACE
annotation type
).public static final ObjectTypeKind ENUM
public static final ObjectTypeKind ANNOTATION
public static ObjectTypeKind[] values()
for (ObjectTypeKind c : ObjectTypeKind.values()) System.out.println(c);
public static ObjectTypeKind 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 nullpublic boolean isClassLike()
true
if this type kind is class like type, otherwise false
Copyright © 2011–2018 Asakusa Framework Team. All rights reserved.