Cleanup (better class name for "Add Maven dependency" fix provider)
authorRoman Shevchenko <roman.shevchenko@jetbrains.com>
Fri, 9 Sep 2016 08:19:08 +0000 (11:19 +0300)
committerRoman Shevchenko <roman.shevchenko@jetbrains.com>
Fri, 9 Sep 2016 08:19:08 +0000 (11:19 +0300)
plugins/maven/src/main/java/org/jetbrains/idea/maven/dom/intentions/AddMavenDependencyQuickFixProvider.java [moved from plugins/maven/src/main/java/org/jetbrains/idea/maven/dom/intentions/ResolveReferenceQuickFixProvider.java with 91% similarity]
plugins/maven/src/main/resources/META-INF/plugin.xml

similarity index 91%
rename from plugins/maven/src/main/java/org/jetbrains/idea/maven/dom/intentions/ResolveReferenceQuickFixProvider.java
rename to plugins/maven/src/main/java/org/jetbrains/idea/maven/dom/intentions/AddMavenDependencyQuickFixProvider.java
index faf342c2ebccb0ad6c1c190a29e356aa83f325db..8cd7585497ee74a69f2bafa4f8213b0a2483986c 100644 (file)
@@ -21,7 +21,7 @@ import com.intellij.psi.PsiJavaCodeReferenceElement;
 import com.intellij.psi.util.PsiUtil;
 import org.jetbrains.annotations.NotNull;
 
-public class ResolveReferenceQuickFixProvider extends UnresolvedReferenceQuickFixProvider<PsiJavaCodeReferenceElement> {
+public class AddMavenDependencyQuickFixProvider extends UnresolvedReferenceQuickFixProvider<PsiJavaCodeReferenceElement> {
   @Override
   public void registerFixes(@NotNull PsiJavaCodeReferenceElement ref, @NotNull QuickFixActionRegistrar registrar) {
     if (!PsiUtil.isModuleFile(ref.getContainingFile())) {
index 6459accbcc59ffdc2c226969060b64ce5e019e8d..e1d8bfbbd6fabe5f1e29e52ed87830659cce74da 100644 (file)
     <problemHighlightFilter implementation="org.jetbrains.idea.maven.utils.ArchetypeResourceHighlightFilter" />
 
     <codeInsight.unresolvedReferenceQuickFixProvider
-        implementation="org.jetbrains.idea.maven.dom.intentions.ResolveReferenceQuickFixProvider"/>
+        implementation="org.jetbrains.idea.maven.dom.intentions.AddMavenDependencyQuickFixProvider"/>
 
     <gotoFileContributor implementation="org.jetbrains.idea.maven.utils.MavenGotoFileContributor"/>
     <gotoFileContributor implementation="org.jetbrains.idea.maven.utils.MavenGotoSettingsFileContributor"/>