public enum JavaType extends Enum<JavaType>
| Modifier and Type | Method and Description |
|---|---|
static JavaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaType PRIMITIVE
public static final JavaType OBJECT
public static final JavaType ARRAY
public static final JavaType MAP
public static final JavaType ENUM
public static JavaType[] values()
for (JavaType c : JavaType.values()) System.out.println(c);
public static JavaType 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–2024 Red Hat. All rights reserved.