@HashCodeAndEqualsPlugin.Enhance protected static class Pipe.Binder.Redirection.MethodCall extends java.lang.Object implements Implementation
Pipe.Binder.Redirection's
forwarding method.| Modifier and Type | Class and Description |
|---|---|
private class |
Pipe.Binder.Redirection.MethodCall.Appender
The appender for implementing the
Pipe.Binder.Redirection.MethodCall. |
Implementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.Target| Modifier and Type | Field and Description |
|---|---|
private Assigner |
assigner
The assigner to be used for invoking the forwarded method.
|
private MethodDescription |
redirectedMethod
The method that is invoked by the implemented method.
|
| Modifier | Constructor and Description |
|---|---|
private |
MethodCall(MethodDescription redirectedMethod,
Assigner assigner)
Creates a new method call implementation.
|
| Modifier and Type | Method and Description |
|---|---|
ByteCodeAppender |
appender(Implementation.Target implementationTarget)
Creates a byte code appender that determines the implementation of the instrumented type's methods.
|
InstrumentedType |
prepare(InstrumentedType instrumentedType)
Prepares a given instrumented type.
|
private final MethodDescription redirectedMethod
private final Assigner assigner
private MethodCall(MethodDescription redirectedMethod, Assigner assigner)
redirectedMethod - The method that is invoked by the implemented method.assigner - The assigner to be used for invoking the forwarded method.public InstrumentedType prepare(InstrumentedType instrumentedType)
prepare in interface InstrumentedType.PrepareableinstrumentedType - The instrumented type in its current form.public ByteCodeAppender appender(Implementation.Target implementationTarget)
appender in interface ImplementationimplementationTarget - The target of the current implementation.InstrumentedType.Prepareable.prepare(InstrumentedType).