public static class MethodDelegation.ImplementationDelegate.ForField extends Object implements MethodDelegation.ImplementationDelegate
MethodDelegation.ImplementationDelegate.ForConstruction, MethodDelegation.ImplementationDelegate.ForField, MethodDelegation.ImplementationDelegate.ForInstance, MethodDelegation.ImplementationDelegate.ForStaticMethod, MethodDelegation.ImplementationDelegate.ResolutionFIELD_NAME_PREFIX| Modifier | Constructor and Description | 
|---|---|
protected  | 
ForField(String fieldName,
        FieldLocator.Factory fieldLocatorFactory,
        MethodGraph.Compiler methodGraphCompiler)
Creates an implementation delegate for delegating to a field's value. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object object)  | 
MethodDelegation.ImplementationDelegate | 
filter(ElementMatcher<? super MethodDescription> matcher)
Filters all methods that do not fit the supplied matcher from delegation. 
 | 
int | 
hashCode()  | 
InstrumentedType | 
prepare(InstrumentedType instrumentedType)
Prepares a given instrumented type. 
 | 
MethodDelegation.ImplementationDelegate.Resolution | 
resolve(TypeDescription instrumentedType)
Resolves this implementation delegate. 
 | 
String | 
toString()  | 
protected ForField(String fieldName, FieldLocator.Factory fieldLocatorFactory, MethodGraph.Compiler methodGraphCompiler)
fieldName - The name of the field for holding the delegate.fieldLocatorFactory - The field locator factory to use.methodGraphCompiler - The method graph compiler to use.public InstrumentedType prepare(InstrumentedType instrumentedType)
InstrumentedType.Prepareableprepare in interface InstrumentedType.PrepareableinstrumentedType - The instrumented type in its current form.public MethodDelegation.ImplementationDelegate filter(ElementMatcher<? super MethodDescription> matcher)
MethodDelegation.ImplementationDelegatefilter in interface MethodDelegation.ImplementationDelegatematcher - The matcher to apply.public MethodDelegation.ImplementationDelegate.Resolution resolve(TypeDescription instrumentedType)
MethodDelegation.ImplementationDelegateresolve in interface MethodDelegation.ImplementationDelegateinstrumentedType - The instrumented type.Copyright © 2014–2016. All rights reserved.