protected static interface Advice.Delegator
Modifier and Type | Interface and Description |
---|---|
static interface |
Advice.Delegator.Factory
A factory for creating a
Advice.Delegator . |
static class |
Advice.Delegator.ForDynamicInvocation
Invokes an advice method using a dynamic method call.
|
static class |
Advice.Delegator.ForRegularInvocation
Invokes an advice method using a regular method call.
|
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.
|
StackManipulation apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.MethodDescription.TypeToken getTypeToken()
void assertVisibility(TypeDescription instrumentedType)
instrumentedType
- The instrumented type.Copyright © 2014–2025. All rights reserved.