public static enum StatementPattern.Scope extends Enum<StatementPattern.Scope>
Enum Constant and Description |
---|
DEFAULT_CONTEXTS
Scope for patterns that should be matched against statements from the default contexts.
|
NAMED_CONTEXTS
Scope for patterns that should be matched against statements from named contexts only.
|
Modifier and Type | Method and Description |
---|---|
static StatementPattern.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatementPattern.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatementPattern.Scope DEFAULT_CONTEXTS
public static final StatementPattern.Scope NAMED_CONTEXTS
public static StatementPattern.Scope[] values()
for (StatementPattern.Scope c : StatementPattern.Scope.values()) System.out.println(c);
public static StatementPattern.Scope 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-2020 Eclipse Foundation. All Rights Reserved.