@HashCodeAndEqualsPlugin.Enhance protected static class MethodCall.TargetHandler.ForSelfOrStaticInvocation.Resolved extends Object implements MethodCall.TargetHandler.Resolved
Modifier | Constructor and Description |
---|---|
protected |
Resolved(TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Creates a resolved target handler for a static or self-declared invocation.
|
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(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.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–2020. All rights reserved.