@HashCodeAndEqualsPlugin.Enhance protected static class MethodCall.TargetHandler.ForSelfOrStaticInvocation.Resolved extends java.lang.Object implements MethodCall.TargetHandler.Resolved
| Modifier and Type | Field and Description |
|---|---|
private MethodDescription |
instrumentedMethod
The instrumented method.
|
private TypeDescription |
instrumentedType
The instrumented type.
|
| 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.
|
private final TypeDescription instrumentedType
private final MethodDescription instrumentedMethod
protected Resolved(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
instrumentedType - The instrumented type.instrumentedMethod - 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.