protected static class FieldProxy.Binder.FieldLocator.LookupEngine.ForExplicitType extends FieldProxy.Binder.FieldLocator.LookupEngine
FieldProxy.Binder.FieldLocator.LookupEngine.ForExplicitType, FieldProxy.Binder.FieldLocator.LookupEngine.ForHierarchy, FieldProxy.Binder.FieldLocator.LookupEngine.Illegal
Modifier | Constructor and Description |
---|---|
protected |
ForExplicitType(String fieldName,
TypeDescription typeDescription)
Creates a new lookup engine for a given type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
protected FieldProxy.Binder.FieldLocator.Resolution |
resolve(TypeDescription instrumentedType)
Locates a field if possible and returns a corresponding resolution.
|
String |
toString() |
protected ForExplicitType(String fieldName, TypeDescription typeDescription)
fieldName
- The name of the field to be found.typeDescription
- The type which is supposed to define a field with the given field name.protected FieldProxy.Binder.FieldLocator.Resolution resolve(TypeDescription instrumentedType)
FieldProxy.Binder.FieldLocator.LookupEngine
resolve
in class FieldProxy.Binder.FieldLocator.LookupEngine
instrumentedType
- The instrumented type from which a field is to be accessed.Copyright © 2014–2015. All rights reserved.