public enum PatternResolveState extends java.lang.Enum<PatternResolveState>
Enum Constant and Description |
---|
WHEN_BOTH |
WHEN_FALSE |
WHEN_NONE |
WHEN_TRUE |
Modifier and Type | Field and Description |
---|---|
static Key<PatternResolveState> |
KEY |
Modifier and Type | Method and Description |
---|---|
static PatternResolveState |
fromBoolean(boolean value) |
PatternResolveState |
invert() |
ResolveState |
putInto(ResolveState rs) |
static PatternResolveState |
stateAtParent(PsiPatternVariable element,
PsiExpression parent) |
static PatternResolveState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PatternResolveState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatternResolveState WHEN_TRUE
public static final PatternResolveState WHEN_FALSE
public static final PatternResolveState WHEN_BOTH
public static final PatternResolveState WHEN_NONE
public static final Key<PatternResolveState> KEY
public static PatternResolveState[] values()
for (PatternResolveState c : PatternResolveState.values()) System.out.println(c);
public static PatternResolveState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static PatternResolveState fromBoolean(boolean value)
public PatternResolveState invert()
public ResolveState putInto(ResolveState rs)
public static PatternResolveState stateAtParent(PsiPatternVariable element, PsiExpression parent)