@HashCodeAndEqualsPlugin.Enhance public static class MethodCall.TargetHandler.ForConstructingInvocation extends Object implements MethodCall.TargetHandler, MethodCall.TargetHandler.Resolved
MethodCall.TargetHandler.ForConstructingInvocation, MethodCall.TargetHandler.ForField, MethodCall.TargetHandler.ForMethodCall, MethodCall.TargetHandler.ForMethodParameter, MethodCall.TargetHandler.ForSelfOrStaticInvocation, MethodCall.TargetHandler.ForValue, MethodCall.TargetHandler.Resolved, MethodCall.TargetHandler.Simple| Modifier | Constructor and Description |
|---|---|
protected |
ForConstructingInvocation(TypeDescription instrumentedType)
Creates a new target handle constructor invocation.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDescription |
getTypeDescription()
Returns the target's type description.
|
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 ForConstructingInvocation(TypeDescription instrumentedType)
instrumentedType - The instrumented type.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–2023. All rights reserved.