public static enum InternalFlags.NullableProvidesOption extends Enum<InternalFlags.NullableProvidesOption>
Enum Constant and Description |
---|
ERROR
Error if null parameters are passed to non-@Nullable parameters of provides parameters
|
IGNORE
Ignore null parameters to @Provides methods.
|
WARN
Warn if null parameters are passed to non-@Nullable parameters of provides methods.
|
Modifier and Type | Method and Description |
---|---|
static InternalFlags.NullableProvidesOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalFlags.NullableProvidesOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InternalFlags.NullableProvidesOption IGNORE
public static final InternalFlags.NullableProvidesOption WARN
public static final InternalFlags.NullableProvidesOption ERROR
public static InternalFlags.NullableProvidesOption[] values()
for (InternalFlags.NullableProvidesOption c : InternalFlags.NullableProvidesOption.values()) System.out.println(c);
public static InternalFlags.NullableProvidesOption 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 © 2006–2018 Google, Inc.. All rights reserved.