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| Modifier and Type | Field and Description |
|---|---|
protected SubclassImplementationTarget.OriginTypeResolver |
originTypeResolver
The origin type identifier to use.
|
protected Map<MethodDescription.SignatureToken,MethodDescription> |
superConstructors
The constructor of the super type, mapped by the constructor's method token.
|
instrumentedType, methodGraph| Modifier | Constructor and Description |
|---|---|
protected |
SubclassImplementationTarget(TypeDescription instrumentedType,
MethodGraph.Linked methodGraph,
SubclassImplementationTarget.OriginTypeResolver originTypeResolver)
Creates a new subclass implementation target.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
TypeDefinition |
getOriginType()
Identifies the origin type of an implementation.
|
int |
hashCode() |
Implementation.SpecialMethodInvocation |
invokeSuper(MethodDescription.SignatureToken token)
Creates a special method invocation for invoking the super method of the given method.
|
String |
toString() |
getInstrumentedType, invokeDefault, invokeDominantprotected final Map<MethodDescription.SignatureToken,MethodDescription> superConstructors
protected final SubclassImplementationTarget.OriginTypeResolver originTypeResolver
protected SubclassImplementationTarget(TypeDescription instrumentedType, MethodGraph.Linked methodGraph, SubclassImplementationTarget.OriginTypeResolver originTypeResolver)
instrumentedType - The instrumented type.methodGraph - A method graph of the instrumented type.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.Targetpublic boolean equals(Object other)
equals in class Implementation.Target.AbstractBasepublic int hashCode()
hashCode in class Implementation.Target.AbstractBaseCopyright © 2014–2016. All rights reserved.