protected abstract static class FieldProxy.Binder.FieldLocator extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
FieldProxy.Binder.FieldLocator.Illegal
Represents an illegal field locator which can impossible locate a field.
|
protected static class |
FieldProxy.Binder.FieldLocator.Legal
Represents a field locator for a field whose name could be located.
|
protected static class |
FieldProxy.Binder.FieldLocator.LookupEngine
A lookup engine is responsible for finding a specific field in a type hierarchy.
|
protected static class |
FieldProxy.Binder.FieldLocator.Resolution
A resolution represents the result of a field location.
|
Modifier | Constructor and Description |
---|---|
protected |
FieldLocator() |
Modifier and Type | Method and Description |
---|---|
protected abstract FieldProxy.Binder.FieldLocator.LookupEngine |
lookup(TypeDescription typeDescription,
TypeDescription instrumentedType)
Locates a field of a given name on a specific type.
|
protected static FieldProxy.Binder.FieldLocator |
of(String fieldName,
MethodDescription methodDescription)
Returns a field locator for a given field.
|
protected static FieldProxy.Binder.FieldLocator of(String fieldName, MethodDescription methodDescription)
fieldName
- The field's name which might represent
FieldProxy.BEAN_PROPERTY
if the field's name should be derived from a method's name.methodDescription
- The intercepted method.protected abstract FieldProxy.Binder.FieldLocator.LookupEngine lookup(TypeDescription typeDescription, TypeDescription instrumentedType)
typeDescription
- The type which defines the field or a representation of void
for
looking up a type implicitly within the type hierarchy.instrumentedType
- The instrumented type from which a field is to be accessed.Copyright © 2014–2015. All rights reserved.