@Override
    public void registerHints(final RuntimeHints hints, final ClassLoader classLoader) {
        hints.resources()
            .registerPattern("cas-theme-*")
            .registerResourceBundle("messages");

        registerReflectionHints(hints, List.of(
            CasThymeleafTemplatesDirector.class,
            CasThymeleafOutputTemplateHandler.class,
            CasThymeleafView.class,
            CasMustacheView.class,
            TemplateMode.class,
            StandardXmlNsTagProcessor.class,
            Themes.class,
            IterationStatusVar.class,
            FragmentExpression.class,
            StandardTextTagProcessor.class,
            IOpenElementTag.class,
            ICloseElementTag.class,
            StandardModelFactory.class,
            DialectConfiguration.class
        ));

        registerReflectionHints(hints, List.of("org.thymeleaf.engine.Text"));
        registerSpringProxyHints(hints, ThemeViewResolverFactory.class, ApplicationContextAware.class);
    }
This is {@link CasThymeleafRuntimeHints}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-thymeleaf/src/main/java/org/apereo/cas/nativex/CasThymeleafRuntimeHints.java