public interface Implementation extends InstrumentedType.Prepareable
LoadedTypeInitializer
s and byte code for the type initializer can be registered for the instrumented
type.An implementation should provide meaningful implementations of both
Object.equals(Object)
and Object.hashCode()
if it wants to avoid to be used twice within the creation of a dynamic type. For two
equal implementations only one will be applied on the creation of a dynamic type.Modifier and Type | Interface and Description |
---|---|
static interface |
Implementation.Composable
Represents an implementation that can be chained together with another implementation.
|
static class |
Implementation.Compound
A compound implementation that allows to combine several implementations.
|
static interface |
Implementation.Context
The context for an implementation application.
|
static class |
Implementation.Simple
A simple implementation that does not register any members with the instrumented type.
|
static interface |
Implementation.SpecialMethodInvocation
Represents a type-specific method invocation on the current instrumented type which is not legal from outside
the type such as a super method or default method invocation.
|
static interface |
Implementation.Target
The target of an implementation.
|
InstrumentedType.Prepareable.NoOp
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.
|
prepare
ByteCodeAppender appender(Implementation.Target implementationTarget)
implementationTarget
- The target of the current implementation.InstrumentedType.Prepareable.prepare(InstrumentedType)
.Copyright © 2014–2023. All rights reserved.