Transformer (@NotNull Project project) { List<RemotePathTransformerFactory> transformers = MAVEN_REMOTE_PATH_TRANSFORMER_EP_NAME.getExtensionList(); List<RemotePathTransformerFactory> aTransformers = ContainerUtil.filter(transformers, factory -> factory.isApplicable(project)); if (aTransformers.size() > 1) { Logger.getInstance(RemotePathTransformerFactory.class).warn("More than one RemotePathTransformer is applicable: " + aTransformers); } return aTransformers.isEmpty() ? Transformer.ID : aTransformers.get(0).createTransformer(project); }