@HashCodeAndEqualsPlugin.Enhance public static class Advice.Delegator.ForRegularInvocation extends Object implements Advice.Delegator
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Advice.Delegator.ForRegularInvocation.Factory
A factory for a regular method invocation delegator.
|
Advice.Delegator.ForDynamicInvocation, Advice.Delegator.ForRegularInvocation| Modifier | Constructor and Description |
|---|---|
protected |
ForRegularInvocation(MethodDescription.InDefinedShape adviceMethod)
Creates a delegator for a regular invocation.
|
| Modifier and Type | Method and Description |
|---|---|
StackManipulation |
apply(TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Materializes an invocation.
|
void |
assertVisibility(TypeDescription instrumentedType)
Asserts the visibility of the delegation target.
|
MethodDescription.TypeToken |
getTypeToken()
Returns the advice method's type token.
|
protected ForRegularInvocation(MethodDescription.InDefinedShape adviceMethod)
adviceMethod - The advice method.public StackManipulation apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
apply in interface Advice.DelegatorinstrumentedType - The instrumented type.instrumentedMethod - The instrumented method.public MethodDescription.TypeToken getTypeToken()
getTypeToken in interface Advice.Delegatorpublic void assertVisibility(TypeDescription instrumentedType)
assertVisibility in interface Advice.DelegatorinstrumentedType - The instrumented type.Copyright © 2014–2025. All rights reserved.