protected static class FieldProxy.Binder.FieldLocator.Legal extends FieldProxy.Binder.FieldLocator
FieldProxy.Binder.FieldLocator.Illegal, FieldProxy.Binder.FieldLocator.Legal, FieldProxy.Binder.FieldLocator.LookupEngine, FieldProxy.Binder.FieldLocator.Resolution| Modifier | Constructor and Description |
|---|---|
protected |
Legal(String fieldName)
Creates a new field locator for a legal field name.
|
| Modifier and Type | Method and Description |
|---|---|
protected static FieldProxy.Binder.FieldLocator |
consider(MethodDescription methodDescription)
Considers a given method to expose a field name by following the Java bean naming conventions
for getter and setter methods.
|
boolean |
equals(Object other) |
int |
hashCode() |
protected FieldProxy.Binder.FieldLocator.LookupEngine |
lookup(TypeDescription typeDescription,
TypeDescription instrumentedType)
Locates a field of a given name on a specific type.
|
String |
toString() |
ofprotected Legal(String fieldName)
fieldName - The name of the field.protected static FieldProxy.Binder.FieldLocator consider(MethodDescription methodDescription)
methodDescription - The method to consider for such a field name identification.protected FieldProxy.Binder.FieldLocator.LookupEngine lookup(TypeDescription typeDescription, TypeDescription instrumentedType)
FieldProxy.Binder.FieldLocatorlookup in class FieldProxy.Binder.FieldLocatortypeDescription - 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.