@Override
    public void registerHints(final RuntimeHints hints, final ClassLoader classLoader) {
        hints.resources()
            .registerResourceBundle("org/apache/xml/security/resource/xmlsecurity")
            .registerResourceBundle("org/apache/xerces/impl/msg/XMLSchemaMessages")
            .registerResourceBundle("org/apache/xerces/impl/xpath/regex/message")
            .registerPattern("templates/*.vm")
            .registerPattern("entitydescriptor-criterion-predicate-registry.properties")
            .registerPattern("roledescriptor-criterion-predicate-registry.properties")
            .registerPattern("credential-criteria-registry.properties")
            .registerPattern("org/apache/velocity/runtime/defaults/*.properties")
            .registerPattern("schema/*.xsd")
            .registerPattern("xacml*-config.xml")
            .registerPattern("ws*-config.xml")
            .registerPattern("saml*-config.xml")
            .registerPattern("default-config.xml")
            .registerPattern("schema-config.xml")
            .registerPattern("signature-config.xml")
            .registerPattern("encryption-config.xml")
            .registerPattern("soap11-config.xml");

        registerReflectionHints(hints, findSubclassesInPackage(XMLObjectBuilder.class, "org.opensaml"));
        registerReflectionHints(hints, findSubclassesInPackage(Marshaller.class, "org.opensaml"));
        registerReflectionHints(hints, findSubclassesInPackage(Unmarshaller.class, "org.opensaml"));
        registerReflectionHints(hints, findSubclassesInPackage(Criterion.class, "org.opensaml"));
        registerReflectionHints(hints, findSubclassesInPackage(ResourceManager.class, ResourceManager.class.getPackageName()));
        registerReflectionHints(hints, findSubclassesInPackage(ResourceLoader.class, ResourceLoader.class.getPackageName()));
        registerReflectionHints(hints, findSubclassesInPackage(ResourceCache.class, ResourceCache.class.getPackageName()));
        registerReflectionHints(hints, findSubclassesInPackage(StringResourceRepository.class, StringResourceRepository.class.getPackageName()));
        registerReflectionHints(hints, findSubclassesInPackage(Directive.class, Directive.class.getPackageName()));
        registerReflectionHints(hints, findSubclassesInPackage(Parser.class, Parser.class.getPackageName()));
        registerReflectionHints(hints, findSubclassesInPackage(ParserPool.class, ParserPool.class.getPackageName()));
        registerReflectionHints(hints, findSubclassesInPackage(Renderable.class, Renderable.class.getPackageName()));
        registerReflectionHints(hints, findSubclassesInPackage(RuntimeServices.class, RuntimeServices.class.getPackageName()));
        registerReflectionHints(hints, findSubclassesInPackage(Uberspect.class, Uberspect.class.getPackageName()));
        registerReflectionHints(hints, findSubclassesInPackage(TypeConversionHandler.class, TypeConversionHandler.class.getPackageName()));

        val list = List.of(
            DestructableComponent.class,
            InitializableComponent.class,
            XIncludeAwareParserConfiguration.class,
            SecurityManager.class,
            XSSimpleTypeDecl.class,
            BasicParserPool.class,
            ExtendedSchemaDVFactoryImpl.class,
            SchemaDVFactoryImpl.class,
            DTDDVFactoryImpl.class);
        registerReflectionHints(hints, list);

    }
This is {@link CoreSamlRuntimeHints}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-saml-core/src/main/java/org/apereo/cas/nativex/CoreSamlRuntimeHints.java