void (@NotNull List<FileSetDescriptor.State> states) { myDescriptors.clear(); for (FileSetDescriptor.State state : states) { for (FileSetDescriptorFactory factory : FileSetDescriptorFactory.EP_NAME.getExtensionList()) { FileSetDescriptor descriptor = factory.createDescriptor(state); if (descriptor != null) { myDescriptors.add(descriptor); } } } }