public static class MethodDelegation.InstrumentationDelegate.ForConstruction extends Object implements MethodDelegation.InstrumentationDelegate
MethodDelegation.InstrumentationDelegate.ForConstruction, MethodDelegation.InstrumentationDelegate.ForInstanceField, MethodDelegation.InstrumentationDelegate.ForStaticFieldInstance, MethodDelegation.InstrumentationDelegate.ForStaticMethod
Constructor and Description |
---|
ForConstruction(TypeDescription typeDescription)
Creates a new constructor instrumentation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
MethodDelegationBinder.MethodInvoker |
getMethodInvoker(TypeDescription instrumentedType)
Returns the method invoker responsible for invoking the delegation method.
|
StackManipulation |
getPreparingStackAssignment(TypeDescription instrumentedType)
Returns the stack manipulation responsible for preparing the instance representing the instrumentation.
|
int |
hashCode() |
InstrumentedType |
prepare(InstrumentedType instrumentedType)
Prepares the instrumented type.
|
String |
toString() |
public ForConstruction(TypeDescription typeDescription)
typeDescription
- The type to be constructed.public InstrumentedType prepare(InstrumentedType instrumentedType)
MethodDelegation.InstrumentationDelegate
prepare
in interface MethodDelegation.InstrumentationDelegate
instrumentedType
- The instrumented type to be prepared.public StackManipulation getPreparingStackAssignment(TypeDescription instrumentedType)
MethodDelegation.InstrumentationDelegate
getPreparingStackAssignment
in interface MethodDelegation.InstrumentationDelegate
instrumentedType
- A description of the instrumented type to which the instrumentation is applied.public MethodDelegationBinder.MethodInvoker getMethodInvoker(TypeDescription instrumentedType)
MethodDelegation.InstrumentationDelegate
getMethodInvoker
in interface MethodDelegation.InstrumentationDelegate
instrumentedType
- The instrumented type to which the instrumentation is applied.Copyright © 2014. All rights reserved.