@HashCodeAndEqualsPlugin.Enhance public static class MethodRegistry.Handler.ForImplementation extends Object implements MethodRegistry.Handler
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MethodRegistry.Handler.ForImplementation.Compiled
A compiled handler for implementing a method.
|
MethodRegistry.Handler.ForAbstractMethod, MethodRegistry.Handler.ForAnnotationValue, MethodRegistry.Handler.ForImplementation, MethodRegistry.Handler.ForVisibilityBridgeInstrumentedType.Prepareable.NoOp| Constructor and Description |
|---|
ForImplementation(Implementation implementation)
Creates a new handler for implementing a method with byte code.
|
| Modifier and Type | Method and Description |
|---|---|
MethodRegistry.Handler.ForImplementation.Compiled |
compile(Implementation.Target implementationTarget)
Compiles this handler.
|
InstrumentedType |
prepare(InstrumentedType instrumentedType)
Prepares a given instrumented type.
|
public ForImplementation(Implementation implementation)
implementation - The implementation to apply.public InstrumentedType prepare(InstrumentedType instrumentedType)
prepare in interface InstrumentedType.PrepareableinstrumentedType - The instrumented type in its current form.public MethodRegistry.Handler.ForImplementation.Compiled compile(Implementation.Target implementationTarget)
compile in interface MethodRegistry.HandlerimplementationTarget - The implementation target to compile this handler for.Copyright © 2014–2023. All rights reserved.