public static interface Implementation.Target
Modifier and Type | Interface and Description |
---|---|
static class |
Implementation.Target.AbstractBase
An abstract base implementation for an
Implementation.Target . |
static interface |
Implementation.Target.Factory
A factory for creating an
Implementation.Target . |
Modifier and Type | Method and Description |
---|---|
TypeDescription |
getOriginType()
Identifies the origin type of an implementation.
|
TypeDescription |
getTypeDescription()
Returns a description of the instrumented type.
|
Implementation.SpecialMethodInvocation |
invokeDefault(TypeDescription targetType,
MethodDescription.Token methodToken)
Creates a special method invocation for invoking a default method.
|
Implementation.SpecialMethodInvocation |
invokeDominant(MethodDescription.Token methodToken)
Invokes a dominant method, i.e.
|
Implementation.SpecialMethodInvocation |
invokeSuper(MethodDescription.Token methodToken)
Creates a special method invocation for invoking the super method of the given method.
|
TypeDescription getTypeDescription()
TypeDescription getOriginType()
Implementation.SpecialMethodInvocation invokeSuper(MethodDescription.Token methodToken)
methodToken
- A token of the method that is to be invoked as a super method.Implementation.SpecialMethodInvocation invokeDefault(TypeDescription targetType, MethodDescription.Token methodToken)
targetType
- The interface on which the default method is to be invoked.methodToken
- A token that uniquely describes the method to invoke.Implementation.SpecialMethodInvocation invokeDominant(MethodDescription.Token methodToken)
methodToken
- The method token representing the method to be invoked.Copyright © 2014–2015. All rights reserved.