@HashCodeAndEqualsPlugin.Enhance protected static class Implementation.Simple.ForDispatcher extends Object implements Implementation
ByteCodeAppender for a dispatcher.| Modifier and Type | Class and Description |
|---|---|
protected class |
Implementation.Simple.ForDispatcher.Appender
An appender for a dispatcher-based simple implementation.
|
Implementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.TargetInstrumentedType.Prepareable.NoOp| Modifier | Constructor and Description |
|---|---|
protected |
ForDispatcher(Implementation.Simple.Dispatcher dispatcher,
InstrumentedType.Prepareable prepareable,
int additionalVariableLength)
Creates a new byte code appender for a dispatcher.
|
| 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.
|
protected ForDispatcher(Implementation.Simple.Dispatcher dispatcher, InstrumentedType.Prepareable prepareable, int additionalVariableLength)
dispatcher - The dispatcher to use.prepareable - A preparation of the instrumented type.additionalVariableLength - The additional length of the local variable array.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).Copyright © 2014–2023. All rights reserved.