public abstract static class Implementation.Target.AbstractBase extends Object implements Implementation.Target
Implementation.Target.Implementation.Target.AbstractBase, Implementation.Target.Factory| Modifier and Type | Field and Description |
|---|---|
protected TypeDescription |
instrumentedType
The instrumented type.
|
protected MethodGraph.Linked |
methodGraph
The instrumented type's method graph.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBase(TypeDescription instrumentedType,
MethodGraph.Linked methodGraph)
Creates a new implementation target.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
TypeDescription |
getTypeDescription()
Returns a description of the instrumented type.
|
int |
hashCode() |
Implementation.SpecialMethodInvocation |
invokeDefault(TypeDescription targetType,
MethodDescription.Token methodToken)
Creates a special method invocation for invoking a default method.
|
Implementation.SpecialMethodInvocation |
invokeDominant(MethodDescription.Token methodToken)
Invokes a dominant method, i.e.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetOriginType, invokeSuperprotected final TypeDescription instrumentedType
protected final MethodGraph.Linked methodGraph
protected AbstractBase(TypeDescription instrumentedType, MethodGraph.Linked methodGraph)
instrumentedType - The instrumented type.methodGraph - The instrumented type's method graph.public TypeDescription getTypeDescription()
Implementation.TargetgetTypeDescription in interface Implementation.Targetpublic Implementation.SpecialMethodInvocation invokeDefault(TypeDescription targetType, MethodDescription.Token methodToken)
Implementation.TargetinvokeDefault in interface Implementation.TargettargetType - The interface on which the default method is to be invoked.methodToken - A token that uniquely describes the method to invoke.public Implementation.SpecialMethodInvocation invokeDominant(MethodDescription.Token methodToken)
Implementation.TargetinvokeDominant in interface Implementation.TargetmethodToken - The method token representing the method to be invoked.Copyright © 2014–2015. All rights reserved.