public static enum ImportBuilder.Strategy extends Enum<ImportBuilder.Strategy>
Enum Constant and Description |
---|
ENCLOSING
Imports both top-level and enclosed types.
|
TOP_LEVEL
Imports only top-level types.
|
Modifier and Type | Method and Description |
---|---|
static ImportBuilder.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImportBuilder.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportBuilder.Strategy TOP_LEVEL
public static final ImportBuilder.Strategy ENCLOSING
public static ImportBuilder.Strategy[] values()
for (ImportBuilder.Strategy c : ImportBuilder.Strategy.values()) System.out.println(c);
public static ImportBuilder.Strategy 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 © 2011–2019 Asakusa Framework Team. All rights reserved.