public static enum JSType.Nullability extends java.lang.Enum<JSType.Nullability>
| Enum Constant and Description |
|---|
EXPLICIT
Include an explicit '!' for non-nullable reference types.
|
IMPLICIT
Omit the explicit '!' from the outermost non-nullable reference type.
|
| Modifier and Type | Method and Description |
|---|---|
static JSType.Nullability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JSType.Nullability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSType.Nullability EXPLICIT
public static final JSType.Nullability IMPLICIT
public static JSType.Nullability[] values()
for (JSType.Nullability c : JSType.Nullability.values()) System.out.println(c);
public static JSType.Nullability 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 nullCopyright © 2009-2019 Google. All Rights Reserved.