public static enum JSType.HasPropertyKind extends java.lang.Enum<JSType.HasPropertyKind>
| Enum Constant and Description |
|---|
ABSENT |
KNOWN_PRESENT |
MAYBE_PRESENT |
| Modifier and Type | Method and Description |
|---|---|
static JSType.HasPropertyKind |
of(boolean has) |
static JSType.HasPropertyKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JSType.HasPropertyKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSType.HasPropertyKind ABSENT
public static final JSType.HasPropertyKind KNOWN_PRESENT
public static final JSType.HasPropertyKind MAYBE_PRESENT
public static JSType.HasPropertyKind[] values()
for (JSType.HasPropertyKind c : JSType.HasPropertyKind.values()) System.out.println(c);
public static JSType.HasPropertyKind 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 JSType.HasPropertyKind of(boolean has)
Copyright © 2009-2020 Google. All Rights Reserved.