public class SubclassImplementationTarget extends Implementation.Target.AbstractBase
| Modifier and Type | Class and Description |
|---|---|
static class |
SubclassImplementationTarget.Factory
A factory for creating a
SubclassImplementationTarget. |
static class |
SubclassImplementationTarget.OriginTypeResolver
Responsible for identifying the origin type that an implementation target represents when
Implementation.Target#getOriginType() is invoked. |
Implementation.Target.AbstractBase.DefaultMethodInvocationImplementation.Target.AbstractBase| Modifier and Type | Field and Description |
|---|---|
protected SubclassImplementationTarget.OriginTypeResolver |
originTypeResolver
The origin type identifier to use.
|
defaultMethodInvocation, instrumentedType, methodGraph| Modifier | Constructor and Description |
|---|---|
protected |
SubclassImplementationTarget(TypeDescription instrumentedType,
MethodGraph.Linked methodGraph,
Implementation.Target.AbstractBase.DefaultMethodInvocation defaultMethodInvocation,
SubclassImplementationTarget.OriginTypeResolver originTypeResolver)
Creates a new subclass implementation target.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDefinition |
getOriginType()
Identifies the origin type of an implementation.
|
Implementation.SpecialMethodInvocation |
invokeSuper(MethodDescription.SignatureToken token)
Creates a special method invocation for invoking the super method of the given method.
|
getInstrumentedType, invokeDefault, invokeDefault, invokeDominantprotected final SubclassImplementationTarget.OriginTypeResolver originTypeResolver
protected SubclassImplementationTarget(TypeDescription instrumentedType, MethodGraph.Linked methodGraph, Implementation.Target.AbstractBase.DefaultMethodInvocation defaultMethodInvocation, SubclassImplementationTarget.OriginTypeResolver originTypeResolver)
instrumentedType - The instrumented type.methodGraph - A method graph of the instrumented type.defaultMethodInvocation - The default method invocation mode to apply.originTypeResolver - A resolver for the origin type.public Implementation.SpecialMethodInvocation invokeSuper(MethodDescription.SignatureToken token)
Implementation.Targettoken - A token of the method that is to be invoked as a super method.public TypeDefinition getOriginType()
Implementation.TargetCopyright © 2014–2017. All rights reserved.