@HashCodeAndEqualsPlugin.Enhance public static class RebaseImplementationTarget.Factory extends java.lang.Object implements Implementation.Target.Factory
RebaseImplementationTarget.| Modifier and Type | Field and Description |
|---|---|
private MethodRebaseResolver |
methodRebaseResolver
The method rebase resolver to use.
|
| Constructor and Description |
|---|
Factory(MethodRebaseResolver methodRebaseResolver)
Creates a new factory for a rebase implementation target.
|
| Modifier and Type | Method and Description |
|---|---|
Implementation.Target |
make(TypeDescription instrumentedType,
MethodGraph.Linked methodGraph,
ClassFileVersion classFileVersion)
Creates an implementation target.
|
private final MethodRebaseResolver methodRebaseResolver
public Factory(MethodRebaseResolver methodRebaseResolver)
methodRebaseResolver - The method rebase resolver to use.public Implementation.Target make(TypeDescription instrumentedType, MethodGraph.Linked methodGraph, ClassFileVersion classFileVersion)
make in interface Implementation.Target.FactoryinstrumentedType - The instrumented type.methodGraph - A method graph of the instrumented type.classFileVersion - The type's class file version.