protected static class FieldValue.Binder.FieldLocator.ForFieldInHierarchy extends FieldValue.Binder.FieldLocator
FieldValue.Binder.FieldLocator.ForFieldInHierarchy, FieldValue.Binder.FieldLocator.ForSpecificType, FieldValue.Binder.FieldLocator.Impossible, FieldValue.Binder.FieldLocator.Resolution
Modifier | Constructor and Description |
---|---|
protected |
ForFieldInHierarchy(TypeDescription instrumentedType)
Creates a new field locator for locating a field in the instrumented type's class hierarchy.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
protected FieldValue.Binder.FieldLocator.Resolution |
resolve(String fieldName,
boolean staticMethod)
Attempts to locate a type for a given field.
|
String |
toString() |
of
protected ForFieldInHierarchy(TypeDescription instrumentedType)
instrumentedType
- The instrumented typeprotected FieldValue.Binder.FieldLocator.Resolution resolve(String fieldName, boolean staticMethod)
FieldValue.Binder.FieldLocator
resolve
in class FieldValue.Binder.FieldLocator
fieldName
- The name of the field.staticMethod
- true if the field is accessed from a static method.Copyright © 2014–2016. All rights reserved.