protected static class FieldProxy.Binder.FieldLocator.LookupStrategy.ForExplicitType extends FieldProxy.Binder.FieldLocator.LookupStrategy
FieldProxy.Binder.FieldLocator.LookupStrategy.ForExplicitType, FieldProxy.Binder.FieldLocator.LookupStrategy.ForHierarchy, FieldProxy.Binder.FieldLocator.LookupStrategy.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,
boolean staticMethod)
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, boolean staticMethod)
FieldProxy.Binder.FieldLocator.LookupStrategy
resolve
in class FieldProxy.Binder.FieldLocator.LookupStrategy
instrumentedType
- The instrumented type from which a field is to be accessed.staticMethod
- true
if the intercepted method is static.Copyright © 2014–2016. All rights reserved.