@HashCodeAndEqualsPlugin.Enhance protected static class MethodCall.TargetHandler.ForMethodCall.Resolved extends Object implements MethodCall.TargetHandler.Resolved
Modifier | Constructor and Description |
---|---|
protected |
Resolved(MethodCall.Appender appender,
MethodDescription methodDescription,
MethodDescription instrumentedMethod,
MethodCall.TargetHandler.Resolved targetHandler)
Creates a resolved target handler for a method call.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription |
getTypeDescription()
Returns the target's type description.
|
StackManipulation |
toStackManipulation(MethodDescription invokedMethod,
Assigner assigner,
Assigner.Typing typing)
Creates a stack manipulation to represent this resolved target handler.
|
protected Resolved(MethodCall.Appender appender, MethodDescription methodDescription, MethodDescription instrumentedMethod, MethodCall.TargetHandler.Resolved targetHandler)
appender
- The appender to use.methodDescription
- The invoked method.instrumentedMethod
- The instrumented method.targetHandler
- The target handler to use.public TypeDescription getTypeDescription()
getTypeDescription
in interface MethodCall.TargetHandler.Resolved
public StackManipulation toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing)
toStackManipulation
in interface MethodCall.TargetHandler.Resolved
invokedMethod
- The invoked method.assigner
- The assigner to use.typing
- The typing to apply.Copyright © 2014–2024. All rights reserved.