| Constructor and Description |
|---|
EnumType(String name,
Class<?> bindingClass)
Creates an enumeration type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TypeVisitor visitor)
Accepts a type visitor and dispatches to the appropriate visitor method,
depending on class of the individual type.
|
Class<?> |
getBindingClass()
Returns a class which represents the Java language binding of this
enumeration.
|
String |
getName() |
public EnumType(String name, Class<?> bindingClass)
name - the canonical name of the enum. must not be nullbindingClass - Java language binding of the enumeration type. must
not be nullNullPointerException - if one of the parameters is nullpublic Class<?> getBindingClass()
public String getName()
nullpublic void accept(TypeVisitor visitor)
TypeCopyright © 2022. All rights reserved.