static enum JSType.MatchStatus extends java.lang.Enum<JSType.MatchStatus>
Enum Constant and Description |
---|
MATCH
indicate that a function implicitly
implements an interface (i.e., the function
structurally complies with the protocol
defined in interface)
or a record type matches another record type
|
NOT_MATCH
indicate that a function does not implicitly
implements an interface (i.e., the function
does not structurally comply with the protocol
defined in interface)
or a record type does not match another
record type
|
PROCESSING
indicate that the interface and function
relationship is under processing
|
Modifier and Type | Field and Description |
---|---|
private boolean |
isSubtype |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
subtypeValue() |
static JSType.MatchStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JSType.MatchStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSType.MatchStatus MATCH
public static final JSType.MatchStatus NOT_MATCH
public static final JSType.MatchStatus PROCESSING
public static JSType.MatchStatus[] values()
for (JSType.MatchStatus c : JSType.MatchStatus.values()) System.out.println(c);
public static JSType.MatchStatus 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 nullboolean subtypeValue()