public static enum Default.Binder.TypeLocator.ForParameterType extends Enum<Default.Binder.TypeLocator.ForParameterType> implements Default.Binder.TypeLocator
Default.Binder.TypeLocator.ForParameterType, Default.Binder.TypeLocator.ForType
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription |
resolve(TypeDescription.Generic parameterType)
Resolves the target type.
|
static Default.Binder.TypeLocator.ForParameterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Default.Binder.TypeLocator.ForParameterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Default.Binder.TypeLocator.ForParameterType INSTANCE
public static Default.Binder.TypeLocator.ForParameterType[] values()
for (Default.Binder.TypeLocator.ForParameterType c : Default.Binder.TypeLocator.ForParameterType.values()) System.out.println(c);
public static Default.Binder.TypeLocator.ForParameterType 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 nullpublic TypeDescription resolve(TypeDescription.Generic parameterType)
resolve
in interface Default.Binder.TypeLocator
parameterType
- The type of the target parameter.Copyright © 2014–2020. All rights reserved.