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 . |
static interface |
Implementation.Target.MethodLookup
A strategy for looking up a method.
|
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,
String uniqueMethodSignature)
Creates a special method invocation for invoking a default method.
|
Implementation.SpecialMethodInvocation |
invokeSuper(MethodDescription methodDescription,
Implementation.Target.MethodLookup methodLookup)
Creates a special method invocation for invoking the super method of the given method.
|
TypeDescription getTypeDescription()
TypeDescription getOriginType()
Implementation.SpecialMethodInvocation invokeSuper(MethodDescription methodDescription, Implementation.Target.MethodLookup methodLookup)
methodDescription
- The method that is to be invoked specially.methodLookup
- The lookup for this method which mainly serves to avoid bridge method invocation.Implementation.SpecialMethodInvocation invokeDefault(TypeDescription targetType, String uniqueMethodSignature)
targetType
- The interface on which the default method is to be invoked.uniqueMethodSignature
- The unique method signature as defined by
MethodDescription.getUniqueSignature()
of the method that is to be invoked.Copyright © 2014–2015. All rights reserved.