public static enum DeferredAttr.AttrMode extends Enum<DeferredAttr.AttrMode>
Enum Constant and Description |
---|
CHECK
This is the plain type-checking mode.
|
SPECULATIVE
A speculative type-checking round is used during overload resolution
mainly to generate constraints on inference variables.
|
Modifier and Type | Method and Description |
---|---|
static DeferredAttr.AttrMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeferredAttr.AttrMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeferredAttr.AttrMode SPECULATIVE
public static final DeferredAttr.AttrMode CHECK
public static DeferredAttr.AttrMode[] values()
for (DeferredAttr.AttrMode c : DeferredAttr.AttrMode.values()) System.out.println(c);
public static DeferredAttr.AttrMode 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 © 2017 earcam. All rights reserved.