@HashCodeAndEqualsPlugin.Enhance public abstract static class Implementation.Target.AbstractBase extends Object implements Implementation.Target
Implementation.Target.| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | Implementation.Target.AbstractBase.DefaultMethodInvocationDetermines if default method invocations are possible. | 
Implementation.Target.AbstractBase, Implementation.Target.Factory| Modifier and Type | Field and Description | 
|---|---|
| protected Implementation.Target.AbstractBase.DefaultMethodInvocation | defaultMethodInvocationThe default method invocation mode to apply. | 
| protected TypeDescription | instrumentedTypeThe instrumented type. | 
| protected MethodGraph.Linked | methodGraphThe instrumented type's method graph. | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | AbstractBase(TypeDescription instrumentedType,
            MethodGraph.Linked methodGraph,
            Implementation.Target.AbstractBase.DefaultMethodInvocation defaultMethodInvocation)Creates a new implementation target. | 
| Modifier and Type | Method and Description | 
|---|---|
| TypeDescription | getInstrumentedType()Returns a description of the instrumented type. | 
| 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. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOriginType, invokeSuperprotected final TypeDescription instrumentedType
protected final MethodGraph.Linked methodGraph
protected final Implementation.Target.AbstractBase.DefaultMethodInvocation defaultMethodInvocation
protected AbstractBase(TypeDescription instrumentedType, MethodGraph.Linked methodGraph, Implementation.Target.AbstractBase.DefaultMethodInvocation defaultMethodInvocation)
instrumentedType - The instrumented type.methodGraph - The instrumented type's method graph.defaultMethodInvocation - The default method invocation mode to apply.public TypeDescription getInstrumentedType()
getInstrumentedType in interface Implementation.Targetpublic Implementation.SpecialMethodInvocation invokeDefault(MethodDescription.SignatureToken token)
invokeDefault in interface Implementation.Targettoken - A token of the method that is to be invoked as a default method.public Implementation.SpecialMethodInvocation invokeDefault(MethodDescription.SignatureToken token, TypeDescription targetType)
invokeDefault in interface Implementation.Targettoken - A token that uniquely describes the method to invoke.targetType - The interface on which the default method is to be invoked.public Implementation.SpecialMethodInvocation invokeDominant(MethodDescription.SignatureToken token)
invokeDominant in interface Implementation.Targettoken - The method token representing the method to be invoked.Copyright © 2014–2019. All rights reserved.