public static enum TypeI.Nullability extends Enum<TypeI.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 TypeI.Nullability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeI.Nullability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeI.Nullability EXPLICIT
public static final TypeI.Nullability IMPLICIT
public static TypeI.Nullability[] values()
for (TypeI.Nullability c : TypeI.Nullability.values()) System.out.println(c);
public static TypeI.Nullability 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 © 2009-2017 Google. All Rights Reserved.