AbstractAttributesStorage (AbstractAttributesStorage attributes, List<ConnectionInterceptor> interceptors) { var attributesInterceptors = interceptors.stream() .filter(AttributesInterceptor.class::isInstance) .map(AttributesInterceptor.class::cast) .toList(); return InterceptorInjection.INSTANCE.injectInAttributes(attributes, attributesInterceptors); }