@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.Target
InstrumentedType.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.Prepareable
instrumentedType
- The instrumented type in its current form.public ByteCodeAppender appender(Implementation.Target implementationTarget)
appender
in interface Implementation
implementationTarget
- The target of the current implementation.InstrumentedType.Prepareable.prepare(InstrumentedType)
.Copyright © 2014–2024. All rights reserved.