Package io.micronaut.core.type
Interface UnsafeExecutable<T,R>
- Type Parameters:
T
- The declaring typeR
- The result of the method call
- All Superinterfaces:
AnnotationMetadataProvider
,AnnotationSource
,Executable<T,
R>
- All Known Implementing Classes:
AbstractExecutableMethod
A variation of
Executable
that exposes invoke method without arguments validation.- Since:
- 4.0.0
- Author:
- Denis Stepanov
-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY
-
Method Summary
Modifier and TypeMethodDescriptioninvokeUnsafe
(T instance, Object... arguments) Invokes the method without the arguments' validation.Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
Methods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
Methods inherited from interface io.micronaut.core.type.Executable
getArguments, getDeclaringType, invoke
-
Method Details
-
invokeUnsafe
Invokes the method without the arguments' validation.- Parameters:
instance
- The instance. Nullable only if it's a static method call.arguments
- The arguments- Returns:
- The result
-