void () { for (AutomaticRenamerFactory factory : AutomaticRenamerFactory.EP_NAME.getExtensionList()) { if (factory.getOptionName() != null && getElements().stream().anyMatch(element -> factory.isApplicable(element))) { myProcessor.addRenamerFactory(factory); } } }