@HashCodeAndEqualsPlugin.Enhance protected static class MethodDelegation.ImplementationDelegate.ForField.WithLookup extends MethodDelegation.ImplementationDelegate.ForField
MethodDelegation.ImplementationDelegate.ForField.WithInstance, MethodDelegation.ImplementationDelegate.ForField.WithLookupMethodDelegation.ImplementationDelegate.Compiled, MethodDelegation.ImplementationDelegate.ForConstruction, MethodDelegation.ImplementationDelegate.ForField, MethodDelegation.ImplementationDelegate.ForMethodReturn, MethodDelegation.ImplementationDelegate.ForStaticMethodInstrumentedType.Prepareable.NoOpfieldName, matcher, methodGraphCompiler, parameterBindersFIELD_NAME_PREFIX| Modifier | Constructor and Description | 
|---|---|
| protected  | WithLookup(String fieldName,
          MethodGraph.Compiler methodGraphCompiler,
          List<? extends TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders,
          ElementMatcher<? super MethodDescription> matcher,
          FieldLocator.Factory fieldLocatorFactory)Creates a new implementation delegate for a field that is declared by the instrumented type or any super type. | 
| Modifier and Type | Method and Description | 
|---|---|
| InstrumentedType | prepare(InstrumentedType instrumentedType) | 
| protected FieldDescription | resolve(TypeDescription instrumentedType)Resolves the field to which is delegated. | 
compileprotected WithLookup(String fieldName, MethodGraph.Compiler methodGraphCompiler, List<? extends TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders, ElementMatcher<? super MethodDescription> matcher, FieldLocator.Factory fieldLocatorFactory)
fieldName - The name of the field that is target of the delegation.methodGraphCompiler - The method graph compiler to use.parameterBinders - The parameter binders to use.matcher - The matcher to use for filtering methods.fieldLocatorFactory - The field locator factory to use for locating the field to delegate to.public InstrumentedType prepare(InstrumentedType instrumentedType)
protected FieldDescription resolve(TypeDescription instrumentedType)
MethodDelegation.ImplementationDelegate.ForFieldresolve in class MethodDelegation.ImplementationDelegate.ForFieldinstrumentedType - The instrumented type.Copyright © 2014–2025. All rights reserved.