@HashCodeAndEqualsPlugin.Enhance public static class MethodCall.TargetHandler.ForSelfOrStaticInvocation extends Object implements MethodCall.TargetHandler
Modifier and Type | Class and Description |
---|---|
protected static class |
MethodCall.TargetHandler.ForSelfOrStaticInvocation.Factory
A factory for invoking a static method or a self-declared method.
|
protected static class |
MethodCall.TargetHandler.ForSelfOrStaticInvocation.Resolved
A resolved target handler for a static or self-declared invocation.
|
MethodCall.TargetHandler.ForConstructingInvocation, MethodCall.TargetHandler.ForField, MethodCall.TargetHandler.ForMethodCall, MethodCall.TargetHandler.ForMethodParameter, MethodCall.TargetHandler.ForSelfOrStaticInvocation, MethodCall.TargetHandler.ForValue, MethodCall.TargetHandler.Simple
Modifier | Constructor and Description |
---|---|
protected |
ForSelfOrStaticInvocation(TypeDescription instrumentedType)
Creates a new target handler for a static or self-declared invocation.
|
Modifier and Type | Method and Description |
---|---|
MethodCall.TargetHandler.Resolved |
resolve(MethodDescription instrumentedMethod)
Resolves this target handler.
|
protected ForSelfOrStaticInvocation(TypeDescription instrumentedType)
instrumentedType
- The instrumented type.public MethodCall.TargetHandler.Resolved resolve(MethodDescription instrumentedMethod)
resolve
in interface MethodCall.TargetHandler
instrumentedMethod
- The instrumented method.Copyright © 2014–2025. All rights reserved.