public static enum ProvidesIntoOptional.Type extends Enum<ProvidesIntoOptional.Type>
Enum Constant and Description |
---|
ACTUAL
Corresponds to
OptionalBinder.setBinding() . |
DEFAULT
Corresponds to
OptionalBinder.setDefault() . |
Modifier and Type | Method and Description |
---|---|
static ProvidesIntoOptional.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProvidesIntoOptional.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProvidesIntoOptional.Type ACTUAL
OptionalBinder.setBinding()
.public static final ProvidesIntoOptional.Type DEFAULT
OptionalBinder.setDefault()
.public static ProvidesIntoOptional.Type[] values()
for (ProvidesIntoOptional.Type c : ProvidesIntoOptional.Type.values()) System.out.println(c);
public static ProvidesIntoOptional.Type 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.