@Override
    public void registerHints(final RuntimeHints hints, final ClassLoader classLoader) {
        registerSerializationHints(hints, RedisMessagePayload.RedisMessageTypes.class,
            PublisherIdentifier.class,
            RedisTicketDocument.class,
            RedisMessagePayload.class);

        registerReflectionHints(hints, List.of(
                RedisMessagePayload.class,
                RedisMessagePayload.RedisMessagePayloadBuilder.class,
                CachedTicketExpirationPolicy.class,
                RedisTicketDocument.class,
                RedisTicketDocument.RedisTicketDocumentBuilder.class
            )
        );

        registerReflectionHints(hints,
            findSubclassesInPackage(RedisTicketRegistryMessageListener.class, CentralAuthenticationService.NAMESPACE));
    }
This is {@link RedisTicketRegistryRuntimeHints}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-redis-ticket-registry/src/main/java/org/apereo/cas/nativex/RedisTicketRegistryRuntimeHints.java