protected static class FieldProxy.Binder.FieldLocator.LookupEngine.ForHierarchy 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 |
ForHierarchy(String fieldName)
Creates a new lookup engine that looks up a field name within the class hierarchy of the
instrumented 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 ForHierarchy(String fieldName)
fieldName
- The name of the field to be found.protected FieldProxy.Binder.FieldLocator.Resolution resolve(TypeDescription instrumentedType, boolean staticMethod)
FieldProxy.Binder.FieldLocator.LookupEngine
resolve
in class FieldProxy.Binder.FieldLocator.LookupEngine
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.