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.OriginTypeIdentifier
Responsible for identifying the origin type that an implementation target represents when
Implementation.Target#getOriginType() is invoked. |
Implementation.Target.AbstractBase, Implementation.Target.MethodLookup
Modifier and Type | Field and Description |
---|---|
protected SubclassImplementationTarget.OriginTypeIdentifier |
originTypeIdentifier
The origin type identifier to use.
|
protected Map<TypeList,MethodDescription> |
superConstructors
The constructor of the super type, mapped by the constructor parameters of each constructor which is
sufficient for a constructor's unique identification.
|
bridgeMethodResolver, defaultMethods, invokableMethods, typeDescription
Modifier | Constructor and Description |
---|---|
protected |
SubclassImplementationTarget(MethodLookupEngine.Finding finding,
BridgeMethodResolver.Factory bridgeMethodResolverFactory,
SubclassImplementationTarget.OriginTypeIdentifier originTypeIdentifier)
Creates a new subclass implementation target.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
TypeDescription |
getOriginType()
Identifies the origin type of an implementation.
|
int |
hashCode() |
protected Implementation.SpecialMethodInvocation |
invokeSuper(MethodDescription methodDescription)
Invokes the fully resolved method to be invoked by a super method call.
|
String |
toString() |
getTypeDescription, invokeDefault, invokeSuper
protected final Map<TypeList,MethodDescription> superConstructors
protected final SubclassImplementationTarget.OriginTypeIdentifier originTypeIdentifier
protected SubclassImplementationTarget(MethodLookupEngine.Finding finding, BridgeMethodResolver.Factory bridgeMethodResolverFactory, SubclassImplementationTarget.OriginTypeIdentifier originTypeIdentifier)
finding
- The lookup of the instrumented type this instance should represent.bridgeMethodResolverFactory
- A factory for creating a bridge method resolver.originTypeIdentifier
- The origin type identifier to use.protected Implementation.SpecialMethodInvocation invokeSuper(MethodDescription methodDescription)
Implementation.Target.AbstractBase
invokeSuper
in class Implementation.Target.AbstractBase
methodDescription
- The method that is to be invoked specially.public TypeDescription getOriginType()
Implementation.Target
public boolean equals(Object other)
equals
in class Implementation.Target.AbstractBase
public int hashCode()
hashCode
in class Implementation.Target.AbstractBase
Copyright © 2014–2015. All rights reserved.