class ExperimentalAwareClientTypeRegistryImpl extends ClientTypeRegistryImpl {

    @Override
    public boolean isEnabled(ClientResourceType resourceType) {
        if (super.isEnabled(resourceType)) {

            resourceType = Factory.maybeUnwrapProxy(resourceType);

            Optional<String> optional = Optional.ofNullable(resourceTypeToExperimentalFeature.get(resourceType.getClass()));

            if (optional.isPresent()) {
                return registryService.isFeatureEnabled(optional.get());
            }

            return true;
        }
        return false;
    }

    @Inject public  ExperimentalAwareClientTypeRegistryImpl(SyncBeanManager iocManager, ClientExperimentalFeaturesRegistryService registryService);

}