@Internal public final class InterceptedMethodUtil extends Object
InterceptedMethod
utils class.Modifier and Type | Method and Description |
---|---|
static boolean |
hasAroundStereotype(AnnotationMetadata annotationMetadata)
Does the given metadata have AOP advice declared.
|
static boolean |
hasDeclaredAroundAdvice(AnnotationMetadata annotationMetadata)
Does the given metadata have declared AOP advice.
|
static InterceptedMethod |
of(MethodInvocationContext<?,?> context)
Find possible
InterceptedMethod implementation. |
static AnnotationValue<?>[] |
resolveInterceptorBinding(AnnotationMetadata annotationMetadata,
InterceptorKind interceptorKind)
Resolve interceptor binding annotations from the metadata.
|
public static InterceptedMethod of(MethodInvocationContext<?,?> context)
InterceptedMethod
implementation.context
- The MethodInvocationContext
InterceptedMethod
public static AnnotationValue<?>[] resolveInterceptorBinding(AnnotationMetadata annotationMetadata, InterceptorKind interceptorKind)
annotationMetadata
- The annotation metadatainterceptorKind
- The interceptor kindpublic static boolean hasAroundStereotype(@Nullable AnnotationMetadata annotationMetadata)
annotationMetadata
- The annotation metadatapublic static boolean hasDeclaredAroundAdvice(@Nullable AnnotationMetadata annotationMetadata)
annotationMetadata
- The annotation metadata