@Override
    public void registerHints(final RuntimeHints hints, final ClassLoader classLoader) {
        registerProxyHints(hints, List.of(
            PrincipalProvisioner.class,
            ServiceRegistryInitializer.class,
            RegisteredServiceAccessStrategyEnforcer.class,
            ServiceRegistry.class,
            ServiceRegistryExecutionPlanConfigurer.class));

        registerSpringProxyHints(hints, ChainingServiceRegistry.class, ServiceRegistry.class);
        registerSerializableSpringProxyHints(hints, ServiceRegistryInitializerEventListener.class);

        registerSerializationHints(hints,
            BaseRegisteredService.class,
            BaseWebBasedRegisteredService.class,
            CasRegisteredService.class,

            BaseRegisteredServiceAccessStrategy.class,
            AbstractRegisteredServiceAttributeReleasePolicy.class,

            RegisteredServiceLogoutType.class,
            RegisteredServicePublicKeyImpl.class,
            DefaultRegisteredServiceContact.class,
            DefaultRegisteredServiceProperty.class,
            DefaultRegisteredServiceDelegatedAuthenticationPolicy.class,
            ChainingRegisteredServiceDelegatedAuthenticationPolicy.class,
            ChainingRegisteredServiceAttributeReleaseActivationCriteria.class,
            DefaultRegisteredServiceExpirationPolicy.class,
            DefaultRegisteredServiceServiceTicketExpirationPolicy.class,
            DefaultRegisteredServiceProxyTicketExpirationPolicy.class,
            DefaultRegisteredServiceDelegatedAuthenticationPolicy.class,
            DefaultRegisteredServiceAcceptableUsagePolicy.class,
            DefaultRegisteredServiceAuthenticationPolicy.class,
            ShibbolethCompatiblePersistentIdGenerator.class,
            FullRegexRegisteredServiceMatchingStrategy.class,
            PartialRegexRegisteredServiceMatchingStrategy.class,
            LiteralRegisteredServiceMatchingStrategy.class,

            RegexMatchingRegisteredServiceProxyPolicy.class,
            RefuseRegisteredServiceProxyPolicy.class,
            DefaultRegisteredServiceAccessStrategy.class,
            ChainingRegisteredServiceAccessStrategy.class,
            RemoteEndpointServiceAccessStrategy.class,
            TimeBasedRegisteredServiceAccessStrategy.class,
            DefaultRegisteredServiceProxyGrantingTicketExpirationPolicy.class,
            DefaultRegisteredServiceProxyTicketExpirationPolicy.class,
            DefaultRegisteredServiceTicketGrantingTicketExpirationPolicy.class,
            DefaultRegisteredServiceServiceTicketExpirationPolicy.class,
            PrincipalAttributeRegisteredServiceUsernameProvider.class,
            AnonymousRegisteredServiceUsernameAttributeProvider.class,
            BaseRegisteredServiceUsernameAttributeProvider.class,
            StaticRegisteredServiceUsernameProvider.class,
            DefaultRegisteredServiceUsernameProvider.class,
            DefaultRegisteredServiceWebflowInterruptPolicy.class,
            RegisteredServiceRegexAttributeFilter.class,
            RegisteredServiceChainingAttributeFilter.class,
            RegisteredServiceMappedRegexAttributeFilter.class,
            RegisteredServiceScriptedAttributeFilter.class,
            ChainingRegisteredServiceAccessStrategyActivationCriteria.class,
            AttributeBasedRegisteredServiceAccessStrategyActivationCriteria.class,
            AttributeBasedRegisteredServiceAttributeReleaseActivationCriteria.class,
            AttributeBasedRegisteredServiceSingleSignOnParticipationPolicy.class,
            DefaultRegisteredServiceSurrogatePolicy.class,

            ChainingAttributeReleasePolicy.class,
            DenyAllAttributeReleasePolicy.class,
            ReturnAllowedAttributeReleasePolicy.class,
            ReturnAllAttributeReleasePolicy.class,
            ReturnStaticAttributeReleasePolicy.class,
            ReturnMappedAttributeReleasePolicy.class,
            ReturnRestfulAttributeReleasePolicy.class,
            PatternMatchingAttributeReleasePolicy.class,
            PatternMatchingAttributeReleasePolicy.Rule.class,

            DefaultRegisteredServiceMultifactorPolicy.class,
            BaseMultifactorAuthenticationProviderProperties.MultifactorAuthenticationProviderFailureModes.class,

            AbstractPrincipalAttributesRepository.class,
            CachingPrincipalAttributesRepository.class,
            DefaultPrincipalAttributesRepository.class,
            PrincipalAttributesCoreProperties.MergingStrategyTypes.class,

            DefaultRegisteredServiceConsentPolicy.class,

            AllAuthenticationHandlersRegisteredServiceAuthenticationPolicyCriteria.class,
            AnyAuthenticationHandlerRegisteredServiceAuthenticationPolicyCriteria.class,
            NotPreventedRegisteredServiceAuthenticationPolicyCriteria.class,
            RestfulRegisteredServiceAuthenticationPolicyCriteria.class
        );

        if (isGroovyPresent(classLoader)) {
            registerSerializationHints(hints, List.of(
                GroovyRegisteredServiceAccessStrategy.class,
                GroovyRegisteredServiceUsernameProvider.class,
                GroovyRegisteredServiceAttributeReleaseActivationCriteria.class,
                GroovyRegisteredServiceAccessStrategyActivationCriteria.class,
                GroovyRegisteredServiceSingleSignOnParticipationPolicy.class,
                GroovyScriptAttributeReleasePolicy.class,
                GroovyRegisteredServiceAuthenticationPolicyCriteria.class
            ));
        }
        registerReflectionHintsForDeclaredAndPublicElements(hints, List.of(
            UnauthorizedServiceException.class,
            RegisteredServiceQuery.class,
            RegisteredServiceQueryIndex.class,
            CasRegisteredService.class
        ));

        val classes = findSubclassesOf(RegisteredServicePasswordlessPolicy.class);
        registerSerializationHints(hints, classes);
        registerReflectionHints(hints, classes);
    }
This is {@link CasCoreServicesRuntimeHints}.

@author Misagh Moayyed
@since 7.0.0
core/cas-server-core-services/src/main/java/org/apereo/cas/nativex/CasCoreServicesRuntimeHints.java