public abstract static class Implementation.Target.AbstractBase extends Object implements Implementation.Target
Implementation.Target.Implementation.Target.AbstractBase, Implementation.Target.Factory, Implementation.Target.MethodLookup| Modifier and Type | Field and Description | 
|---|---|
| protected BridgeMethodResolver | bridgeMethodResolverA bridge method resolver for the given instrumented type. | 
| protected Map<TypeDescription,Map<String,MethodDescription>> | defaultMethodsA map of default methods by their unique signature. | 
| protected Map<String,MethodDescription> | invokableMethodsA map of invokable methods by their unique signature. | 
| protected TypeDescription | typeDescriptionThe type that is subject to instrumentation. | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | AbstractBase(MethodLookupEngine.Finding finding,
            BridgeMethodResolver.Factory bridgeMethodResolverFactory)Creates a new implementation target. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object other) | 
| TypeDescription | getTypeDescription()Returns a description of the instrumented type. | 
| int | hashCode() | 
| Implementation.SpecialMethodInvocation | invokeDefault(TypeDescription targetType,
             String uniqueMethodSignature)Creates a special method invocation for invoking a default method. | 
| protected abstract Implementation.SpecialMethodInvocation | invokeSuper(MethodDescription methodDescription)Invokes the fully resolved method to be invoked by a super method call. | 
| Implementation.SpecialMethodInvocation | invokeSuper(MethodDescription methodDescription,
           Implementation.Target.MethodLookup methodLookup)Creates a special method invocation for invoking the super method of the given method. | 
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetOriginTypeprotected final TypeDescription typeDescription
protected final Map<String,MethodDescription> invokableMethods
protected final Map<TypeDescription,Map<String,MethodDescription>> defaultMethods
protected final BridgeMethodResolver bridgeMethodResolver
protected AbstractBase(MethodLookupEngine.Finding finding, BridgeMethodResolver.Factory bridgeMethodResolverFactory)
finding - A finding of a MethodLookupEngine
                                    for the instrumented type.bridgeMethodResolverFactory - A factory for creating a
                                    BridgeMethodResolver.public TypeDescription getTypeDescription()
Implementation.TargetgetTypeDescription in interface Implementation.Targetpublic Implementation.SpecialMethodInvocation invokeSuper(MethodDescription methodDescription, Implementation.Target.MethodLookup methodLookup)
Implementation.TargetinvokeSuper in interface Implementation.TargetmethodDescription - The method that is to be invoked specially.methodLookup - The lookup for this method which mainly serves to avoid bridge method invocation.protected abstract Implementation.SpecialMethodInvocation invokeSuper(MethodDescription methodDescription)
methodDescription - The method that is to be invoked specially.public Implementation.SpecialMethodInvocation invokeDefault(TypeDescription targetType, String uniqueMethodSignature)
Implementation.TargetinvokeDefault in interface Implementation.TargettargetType - 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.