public static enum PreferredConstructorDiscoverer.Discoverers extends Enum<PreferredConstructorDiscoverer.Discoverers>
PreferredConstructor
.Enum Constant and Description |
---|
DEFAULT
Discovers a
PreferredConstructor for Java types. |
KOTLIN
Discovers a
PreferredConstructor for Kotlin types. |
Modifier and Type | Method and Description |
---|---|
static PreferredConstructorDiscoverer.Discoverers |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreferredConstructorDiscoverer.Discoverers[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreferredConstructorDiscoverer.Discoverers DEFAULT
PreferredConstructor
for Java types.public static final PreferredConstructorDiscoverer.Discoverers KOTLIN
PreferredConstructor
for Kotlin types.public static PreferredConstructorDiscoverer.Discoverers[] values()
for (PreferredConstructorDiscoverer.Discoverers c : PreferredConstructorDiscoverer.Discoverers.values()) System.out.println(c);
public static PreferredConstructorDiscoverer.Discoverers 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 © 2011–2018 Pivotal Software, Inc.. All rights reserved.