private static void registerReflectionHints(final RuntimeHints hints, final Collection entries,
                                                final MemberCategory... memberCategories) {
        entries.forEach(el -> {
            if (el instanceof final String clazz) {
                hints.reflection().registerType(TypeReference.of(clazz), memberCategories);
            }
            if (el instanceof final Class clazz) {
                hints.reflection().registerType(clazz, memberCategories);
            }
            if (el instanceof final TypeReference reference) {
                hints.reflection().registerType(reference, memberCategories);
            }
        });
    }
Register reflection hints.

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