@HashCodeAndEqualsPlugin.Enhance public static class MethodCall.TargetHandler.Simple extends Object implements MethodCall.TargetHandler, MethodCall.TargetHandler.Factory, MethodCall.TargetHandler.Resolved
MethodCall.TargetHandler.Factory, MethodCall.TargetHandler.ForConstructingInvocation, MethodCall.TargetHandler.ForField, MethodCall.TargetHandler.ForMethodCall, MethodCall.TargetHandler.ForMethodParameter, MethodCall.TargetHandler.ForSelfOrStaticInvocation, MethodCall.TargetHandler.ForValue, MethodCall.TargetHandler.Resolved, MethodCall.TargetHandler.SimpleInstrumentedType.Prepareable.NoOp| Modifier | Constructor and Description | 
|---|---|
| protected  | Simple(TypeDescription typeDescription,
      StackManipulation stackManipulation)Creates a simple target handler. | 
| Modifier and Type | Method and Description | 
|---|---|
| TypeDescription | getTypeDescription()Returns the target's type description. | 
| MethodCall.TargetHandler | make(Implementation.Target implementationTarget)Creates a target handler for a given implementation target. | 
| InstrumentedType | prepare(InstrumentedType instrumentedType)Prepares a given instrumented type. | 
| MethodCall.TargetHandler.Resolved | resolve(MethodDescription instrumentedMethod)Resolves this target handler. | 
| StackManipulation | toStackManipulation(MethodDescription invokedMethod,
                   Assigner assigner,
                   Assigner.Typing typing)Creates a stack manipulation to represent this resolved target handler. | 
protected Simple(TypeDescription typeDescription, StackManipulation stackManipulation)
typeDescription - The type resolved by the stack manipulation.stackManipulation - The stack manipulation that loads a target for the method call.public MethodCall.TargetHandler make(Implementation.Target implementationTarget)
make in interface MethodCall.TargetHandler.FactoryimplementationTarget - The implementation target to use.public InstrumentedType prepare(InstrumentedType instrumentedType)
prepare in interface InstrumentedType.PrepareableinstrumentedType - The instrumented type in its current form.public MethodCall.TargetHandler.Resolved resolve(MethodDescription instrumentedMethod)
resolve in interface MethodCall.TargetHandlerinstrumentedMethod - The instrumented method.public TypeDescription getTypeDescription()
getTypeDescription in interface MethodCall.TargetHandler.Resolvedpublic StackManipulation toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing)
toStackManipulation in interface MethodCall.TargetHandler.ResolvedinvokedMethod - The invoked method.assigner - The assigner to use.typing - The typing to apply.Copyright © 2014–2021. All rights reserved.