Interface MethodInvocationContext<T,R>
- Type Parameters:
T- The declaring typeR- The result of the method call
- All Superinterfaces:
AnnotatedElement, AnnotationMetadata, AnnotationMetadataDelegate, AnnotationMetadataProvider, AnnotationSource, AttributeHolder, Described, Executable<T,R>, ExecutableMethod<T, R>, InvocationContext<T, R>, MethodReference<T, R>, MutableAttributeHolder, Named
- All Known Implementing Classes:
MethodInterceptorChain
public interface MethodInvocationContext<T,R>
extends InvocationContext<T,R>, Executable<T,R>, ExecutableMethod<T,R>
Extended version of
InvocationContext for MethodInterceptor instances.- Since:
- 1.0
- Author:
- Graeme Rocher
-
Field Summary
Fields inherited from interface AnnotationMetadata
CLASS_NAME_SUFFIX, EMPTY_METADATA, VALUE_MEMBERFields inherited from interface AnnotationSource
EMPTY -
Method Summary
Modifier and TypeMethodDescriptionThe underlyingExecutableMethodreference.default booleanDefines whether the method is abstract.default booleanDefines whether the method is Kotlin suspend function.Methods inherited from interface AnnotatedElement
isDeclaredNonNull, isDeclaredNullable, isNonNull, isNullableMethods inherited from interface AnnotationMetadata
enumValuesSet, enumValuesSet, getValues, hasDeclaredStereotype, hasEvaluatedExpressions, hasStereotypeNonRepeating, isAnnotationPresent, isDeclaredAnnotationPresentMethods inherited from interface AnnotationMetadataDelegate
booleanValue, booleanValue, booleanValue, booleanValue, classValue, classValue, classValue, classValue, classValues, classValues, classValues, classValues, copyAnnotationMetadata, doubleValue, doubleValue, doubleValue, enumValue, enumValue, enumValue, enumValue, enumValues, enumValues, enumValues, enumValues, findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, findRepeatableAnnotation, findRepeatableAnnotation, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByName, getAnnotationValuesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByName, getDeclaredAnnotationValuesByType, getDeclaredMetadata, getDeclaredStereotypeAnnotationNames, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValues, getStereotypeAnnotationNames, getTargetAnnotationMetadata, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValues, getValues, hasAnnotation, hasAnnotation, hasDeclaredAnnotation, hasDeclaredAnnotation, hasDeclaredStereotype, hasDeclaredStereotype, hasDeclaredStereotype, hasPropertyExpressions, hasSimpleAnnotation, hasSimpleDeclaredAnnotation, hasStereotype, hasStereotype, hasStereotype, hasStereotype, intValue, intValue, intValue, isAnnotationPresent, isDeclaredAnnotationPresent, isEmpty, isFalse, isFalse, isPresent, isPresent, isRepeatableAnnotation, isRepeatableAnnotation, isTrue, isTrue, longValue, longValue, stringValue, stringValue, stringValue, stringValue, stringValues, stringValues, stringValues, stringValues, synthesize, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface AnnotationMetadataProvider
getAnnotationMetadataMethods inherited from interface AttributeHolder
getAttribute, getAttributeMethods inherited from interface Executable
getArguments, invokeMethods inherited from interface ExecutableMethod
getDescription, getDescriptionMethods inherited from interface InvocationContext
getKind, getParameters, getParameterValueMap, getParameterValues, getTarget, proceed, proceed, setAttributeMethods inherited from interface MethodReference
getArgumentNames, getArguments, getArgumentTypes, getMethodName, getName, getReturnType, getTargetMethodMethods inherited from interface MutableAttributeHolder
getAttributes, removeAttribute
-
Method Details
-
getExecutableMethod
ExecutableMethod<T,R> getExecutableMethod()The underlyingExecutableMethodreference.- Returns:
- The underlying method reference.
-
isSuspend
default boolean isSuspend()Description copied from interface:ExecutableMethodDefines whether the method is Kotlin suspend function.- Specified by:
isSuspendin interfaceExecutableMethod<T,R> - Returns:
- Is the method Kotlin suspend function.
-
isAbstract
default boolean isAbstract()Description copied from interface:ExecutableMethodDefines whether the method is abstract.- Specified by:
isAbstractin interfaceExecutableMethod<T,R> - Returns:
- Is the method abstract.
-
getDeclaringType
- Specified by:
getDeclaringTypein interfaceExecutable<T,R> - Specified by:
getDeclaringTypein interfaceInvocationContext<T,R> - Specified by:
getDeclaringTypein interfaceMethodReference<T,R> - Returns:
- The declaring type
-