Interface UnsafeExecutable<T,R>

Type Parameters:
T - The declaring type
R - The result of the method call
All Superinterfaces:
AnnotationMetadataProvider, AnnotationSource, Executable<T,R>
All Known Implementing Classes:
AbstractExecutableMethod

@Internal public interface UnsafeExecutable<T,R> extends Executable<T,R>
A variation of Executable that exposes invoke method without arguments validation.
Since:
4.0.0
Author:
Denis Stepanov
  • Method Details

    • invokeUnsafe

      R invokeUnsafe(T instance, Object... arguments)
      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