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.ForVisibilityBridge
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.
|
boolean |
equals(Object other) |
int |
hashCode() |
InstrumentedType |
prepare(InstrumentedType instrumentedType)
Prepares the instrumented type for this handler.
|
String |
toString() |
public ForImplementation(Implementation implementation)
implementation
- The implementation to apply.public InstrumentedType prepare(InstrumentedType instrumentedType)
MethodRegistry.Handler
prepare
in interface MethodRegistry.Handler
instrumentedType
- The instrumented type to prepare.public MethodRegistry.Handler.ForImplementation.Compiled compile(Implementation.Target implementationTarget)
MethodRegistry.Handler
compile
in interface MethodRegistry.Handler
implementationTarget
- The implementation target to compile this handler for.Copyright © 2014–2015. All rights reserved.