public class SubclassInstrumentationTarget extends Instrumentation.Target.AbstractBase
| Modifier and Type | Class and Description |
|---|---|
static class |
SubclassInstrumentationTarget.Factory
A factory for creating a
SubclassInstrumentationTarget. |
static class |
SubclassInstrumentationTarget.OriginTypeIdentifier
Responsible for identifying the origin type that an instrumentation target represents when
Instrumentation.Target.getOriginType() is invoked. |
Instrumentation.Target.AbstractBase, Instrumentation.Target.MethodLookup| Modifier and Type | Field and Description |
|---|---|
protected SubclassInstrumentationTarget.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 |
SubclassInstrumentationTarget(MethodLookupEngine.Finding finding,
BridgeMethodResolver.Factory bridgeMethodResolverFactory,
SubclassInstrumentationTarget.OriginTypeIdentifier originTypeIdentifier)
Creates a new subclass instrumentation target.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
TypeDescription |
getOriginType()
Identifies the origin type of an instrumentation.
|
int |
hashCode() |
protected Instrumentation.SpecialMethodInvocation |
invokeSuper(MethodDescription methodDescription)
Invokes the fully resolved method to be invoked by a super method call.
|
String |
toString() |
getTypeDescription, invokeDefault, invokeSuperprotected final Map<TypeList,MethodDescription> superConstructors
protected final SubclassInstrumentationTarget.OriginTypeIdentifier originTypeIdentifier
protected SubclassInstrumentationTarget(MethodLookupEngine.Finding finding, BridgeMethodResolver.Factory bridgeMethodResolverFactory, SubclassInstrumentationTarget.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 Instrumentation.SpecialMethodInvocation invokeSuper(MethodDescription methodDescription)
Instrumentation.Target.AbstractBaseinvokeSuper in class Instrumentation.Target.AbstractBasemethodDescription - The method that is to be invoked specially.public TypeDescription getOriginType()
Instrumentation.Targetpublic boolean equals(Object other)
equals in class Instrumentation.Target.AbstractBasepublic int hashCode()
hashCode in class Instrumentation.Target.AbstractBaseCopyright © 2014. All rights reserved.