@HashCodeAndEqualsPlugin.Enhance public static class Super.Binder.TypeLocator.ForType extends Object implements Super.Binder.TypeLocator
Super.Binder.TypeLocator.ForInstrumentedType, Super.Binder.TypeLocator.ForParameterType, Super.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 |
|---|---|
protected static Super.Binder.TypeLocator |
of(TypeDescription typeDescription)
Resolves a type locator based upon an annotation value.
|
TypeDescription |
resolve(TypeDescription instrumentedType,
TypeDescription.Generic parameterType)
Resolves the target type.
|
protected ForType(TypeDescription typeDescription)
typeDescription - The type to be returned upon resolution.protected static Super.Binder.TypeLocator of(TypeDescription typeDescription)
typeDescription - The annotation's value.public TypeDescription resolve(TypeDescription instrumentedType, TypeDescription.Generic parameterType)
resolve in interface Super.Binder.TypeLocatorinstrumentedType - The instrumented type.parameterType - The type of the target parameter.Copyright © 2014–2019. All rights reserved.