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 |
getInstrumentedType()
Returns a description of the instrumented type.
|
int |
hashCode() |
Implementation.SpecialMethodInvocation |
invokeDefault(TypeDescription targetType,
MethodDescription.SignatureToken token)
Creates a special method invocation for invoking a default method.
|
Implementation.SpecialMethodInvocation |
invokeDominant(MethodDescription.SignatureToken token)
Invokes a dominant method, i.e. if the method token can be invoked as a super method invocation, this invocation is considered dominant.
|
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 getInstrumentedType()
Implementation.TargetgetInstrumentedType in interface Implementation.Targetpublic Implementation.SpecialMethodInvocation invokeDefault(TypeDescription targetType, MethodDescription.SignatureToken token)
Implementation.TargetinvokeDefault in interface Implementation.TargettargetType - The interface on which the default method is to be invoked.token - A token that uniquely describes the method to invoke.public Implementation.SpecialMethodInvocation invokeDominant(MethodDescription.SignatureToken token)
Implementation.TargetinvokeDominant in interface Implementation.Targettoken - The method token representing the method to be invoked.Copyright © 2014–2016. All rights reserved.