Interface Executable<T,​R>

    • Method Detail

      • getDeclaringType

        @NonNull
        java.lang.Class<T> getDeclaringType()
        Returns:
        The declaring type
        Since:
        3.0.0
      • getArguments

        @NonNull
        Argument<?>[] getArguments()
        The required argument types.
        Returns:
        The arguments
      • invoke

        @Nullable
        R invoke​(@Nullable
                 T instance,
                 java.lang.Object... arguments)
        Invokes the method.
        Parameters:
        instance - The instance. Nullable only if it's a static method call.
        arguments - The arguments
        Returns:
        The result