List<ProjectImportModelProvider> () { ProjectImportModelProvider provider = getModelProvider(); if (provider != null) { return List.of(provider); } List<ProjectImportModelProvider> providers = new ArrayList<>(); providers.addAll(GradleClassProjectModelProvider.createAll(getExtraProjectModelClasses())); providers.addAll(GradleClassBuildModelProvider.createAll(getExtraBuildModelClasses())); return providers; }