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 |
getInstrumentedType()
Returns a description of the instrumented type.
|
TypeDefinition |
getOriginType()
Identifies the origin type of an implementation.
|
Implementation.SpecialMethodInvocation |
invokeDefault(MethodDescription.SignatureToken token)
Creates a special method invocation for invoking a default method with the given token.
|
Implementation.SpecialMethodInvocation |
invokeDefault(MethodDescription.SignatureToken token,
TypeDescription targetType)
Creates a special method invocation for invoking a default method.
|
Implementation.SpecialMethodInvocation |
invokeDominant(MethodDescription.SignatureToken token)
Invokes a dominant method, i.e.
|
Implementation.SpecialMethodInvocation |
invokeSuper(MethodDescription.SignatureToken token)
Creates a special method invocation for invoking the super method of the given method.
|
TypeDescription getInstrumentedType()
TypeDefinition getOriginType()
Implementation.SpecialMethodInvocation invokeSuper(MethodDescription.SignatureToken token)
token
- A token of the method that is to be invoked as a super method.Implementation.SpecialMethodInvocation invokeDefault(MethodDescription.SignatureToken token)
token
- A token of the method that is to be invoked as a default method.Implementation.SpecialMethodInvocation invokeDefault(MethodDescription.SignatureToken token, TypeDescription targetType)
targetType
- The interface on which the default method is to be invoked.token
- A token that uniquely describes the method to invoke.Implementation.SpecialMethodInvocation invokeDominant(MethodDescription.SignatureToken token)
token
- The method token representing the method to be invoked.Copyright © 2014–2019. All rights reserved.