protected abstract static class FieldValue.Binder.FieldLocator extends Object
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | FieldValue.Binder.FieldLocator.ForFieldInHierarchyAttempts to locate a field within a type's hierarchy. | 
| protected static class  | FieldValue.Binder.FieldLocator.ForSpecificTypeLocates a field only within a given type. | 
| protected static class  | FieldValue.Binder.FieldLocator.ImpossibleA field locator that never locates a field. | 
| protected static interface  | FieldValue.Binder.FieldLocator.ResolutionA resolution of a field locator. | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | FieldLocator() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static FieldValue.Binder.FieldLocator | of(TypeDescription typeDescription,
  TypeDescription instrumentedType)Creates a field locator for the given type and instrumented type. | 
| protected abstract FieldValue.Binder.FieldLocator.Resolution | resolve(String fieldName,
       boolean staticMethod)Attempts to locate a type for a given field. | 
protected static FieldValue.Binder.FieldLocator of(TypeDescription typeDescription, TypeDescription instrumentedType)
typeDescription - The type which is supposed to define the field or void if a type should be located
                         in the hierarchy.instrumentedType - The instrumented type from which the field is accessed.protected abstract FieldValue.Binder.FieldLocator.Resolution resolve(String fieldName, boolean staticMethod)
fieldName - The name of the field.staticMethod -  true if the field is accessed from a static method.Copyright © 2014–2015. All rights reserved.