public enum DefinitionType extends java.lang.Enum<DefinitionType>
| Enum Constant and Description |
|---|
ClassDef |
Module |
PackageModule |
Trait |
| Modifier and Type | Method and Description |
|---|---|
static DefinitionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DefinitionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefinitionType Trait
public static final DefinitionType ClassDef
public static final DefinitionType Module
public static final DefinitionType PackageModule
public static DefinitionType[] values()
for (DefinitionType c : DefinitionType.values()) System.out.println(c);
public static DefinitionType 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 null