@CanIgnoreReturnValue
    default CasRuntimeHintsRegistrar registerReflectionHintForDeclaredMethod(final RuntimeHints hints, final Class clazz,
                                                                             final String name) {
        val method = Unchecked.supplier(() -> clazz.getDeclaredMethod(name)).get();
        hints.reflection().registerMethod(method, ExecutableMode.INVOKE);
        return this;
    }
Register declared method as invocable.

@param hints the hints
@param clazz the clazz
@param name  the name
@return the cas runtime hints registrar
api/cas-server-core-api-util/src/main/java/org/apereo/cas/util/nativex/CasRuntimeHintsRegistrar.java