public static class Default.Binder.TypeLocator.ForType extends Object implements Default.Binder.TypeLocator
Default.Binder.TypeLocator.ForParameterType, Default.Binder.TypeLocator.ForType| Modifier | Constructor and Description |
|---|---|
protected |
ForType(TypeDescription typeDescription)
Creates a new type locator for a given type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
protected static Default.Binder.TypeLocator |
of(TypeDescription typeDescription)
Resolves a type locator based upon an annotation value.
|
TypeDescription |
resolve(TypeDescription.Generic parameterType)
Resolves the target type.
|
String |
toString() |
protected ForType(TypeDescription typeDescription)
typeDescription - The type to be returned upon resolution.protected static Default.Binder.TypeLocator of(TypeDescription typeDescription)
typeDescription - The annotation's value.public TypeDescription resolve(TypeDescription.Generic parameterType)
Default.Binder.TypeLocatorresolve in interface Default.Binder.TypeLocatorparameterType - The type of the target parameter.Copyright © 2014–2016. All rights reserved.