List<RunContentDescriptor> (List<? extends RunContentDescriptor> descriptors) { return ContainerUtil.filter(descriptors, descriptor -> { Content content = descriptor.getAttachedContent(); return content != null && content.getManager() == myContentManager; }); }