public static enum ArrayType.Origin extends Enum<ArrayType.Origin>
| Enum Constant and Description |
|---|
NAME
The [] were found on the name, like "int a[]" or "String abc()[][]"
|
TYPE
The [] were found on the type, like "int[] a" or "String[][] abc()"
|
| Modifier and Type | Method and Description |
|---|---|
static ArrayType.Origin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArrayType.Origin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArrayType.Origin NAME
public static final ArrayType.Origin TYPE
public static ArrayType.Origin[] values()
for (ArrayType.Origin c : ArrayType.Origin.values()) System.out.println(c);
public static ArrayType.Origin 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 © 2007–2019. All rights reserved.