EP_NAME = new ProjectExtensionPointName<>("com.intellij.changesViewContent");
/**
- * Used to determine specific tab content in {@link com.intellij.openapi.vcs.changes.ui.ChangesViewContentManager#selectContent}
+ * Used to determine specific tab content in {@link ChangesViewContentManager#selectContent}
*
* To provide localized tab name use {@link #displayNameSupplierClassName}
*/
diff --git a/platform/vcs-impl/src/com/intellij/vcsUtil/RollbackUtil.java b/platform/vcs-impl/src/com/intellij/vcsUtil/RollbackUtil.java
index 7becb435297d..e4dfe803710d 100644
--- a/platform/vcs-impl/src/com/intellij/vcsUtil/RollbackUtil.java
+++ b/platform/vcs-impl/src/com/intellij/vcsUtil/RollbackUtil.java
@@ -63,7 +63,7 @@ public class RollbackUtil {
/**
* Finds the appropriate name for the "rollback" operation, looking through all VCSs registered in the project.
- * @see #getRollbackOperationName(java.util.Collection)
+ * @see #getRollbackOperationName(Collection)
*/
@NotNull
public static String getRollbackOperationName(@NotNull Project project) {
diff --git a/platform/vcs-log/impl/src/com/intellij/vcs/log/visible/filters/VcsLogStructureFilterImpl.java b/platform/vcs-log/impl/src/com/intellij/vcs/log/visible/filters/VcsLogStructureFilterImpl.java
index b5fc38257350..48b5a8c5610e 100644
--- a/platform/vcs-log/impl/src/com/intellij/vcs/log/visible/filters/VcsLogStructureFilterImpl.java
+++ b/platform/vcs-log/impl/src/com/intellij/vcs/log/visible/filters/VcsLogStructureFilterImpl.java
@@ -23,7 +23,7 @@ public class VcsLogStructureFilterImpl implements VcsLogDetailsFilter, VcsLogStr
@NotNull private final Collection myFiles;
/**
- * Use {@link com.intellij.vcs.log.visible.filters.VcsLogFilterObject#fromPaths(Collection)}
+ * Use {@link VcsLogFilterObject#fromPaths(Collection)}
*/
protected VcsLogStructureFilterImpl(@NotNull Collection files) {
myFiles = files;
diff --git a/platform/xdebugger-api/src/com/intellij/xdebugger/stepping/XSmartStepIntoHandler.java b/platform/xdebugger-api/src/com/intellij/xdebugger/stepping/XSmartStepIntoHandler.java
index 416d47578b1f..b7dbbfd50730 100644
--- a/platform/xdebugger-api/src/com/intellij/xdebugger/stepping/XSmartStepIntoHandler.java
+++ b/platform/xdebugger-api/src/com/intellij/xdebugger/stepping/XSmartStepIntoHandler.java
@@ -44,7 +44,7 @@ public abstract class XSmartStepIntoHandler null")
diff --git a/plugins/InspectionGadgets/src/com/siyeh/ig/threading/ExtendsThreadInspection.java b/plugins/InspectionGadgets/src/com/siyeh/ig/threading/ExtendsThreadInspection.java
index c439af6e5c80..a64c7d62cd6e 100644
--- a/plugins/InspectionGadgets/src/com/siyeh/ig/threading/ExtendsThreadInspection.java
+++ b/plugins/InspectionGadgets/src/com/siyeh/ig/threading/ExtendsThreadInspection.java
@@ -27,7 +27,7 @@ import org.jetbrains.annotations.NotNull;
public class ExtendsThreadInspection extends BaseInspection {
/**
- * @see com.siyeh.ig.inheritance.ExtendsConcreteCollectionInspection#buildFix(java.lang.Object...)
+ * @see com.siyeh.ig.inheritance.ExtendsConcreteCollectionInspection#buildFix(Object...)
*/
@Override
protected InspectionGadgetsFix buildFix(Object... infos) {
diff --git a/plugins/IntentionPowerPak/src/com/siyeh/ipp/fqnames/ReplaceFullyQualifiedNameWithImportIntention.java b/plugins/IntentionPowerPak/src/com/siyeh/ipp/fqnames/ReplaceFullyQualifiedNameWithImportIntention.java
index 63e2efb19824..3d4094a25a2a 100644
--- a/plugins/IntentionPowerPak/src/com/siyeh/ipp/fqnames/ReplaceFullyQualifiedNameWithImportIntention.java
+++ b/plugins/IntentionPowerPak/src/com/siyeh/ipp/fqnames/ReplaceFullyQualifiedNameWithImportIntention.java
@@ -33,7 +33,7 @@ import java.util.Collection;
/**
* This class seems to used from a third-party plugin (https://plugins.jetbrains.com/plugin/7688-eddy) and can't be removed.
- * @see com.siyeh.ig.style.UnnecessaryFullyQualifiedNameInspection
+ * @see UnnecessaryFullyQualifiedNameInspection
*/
public class ReplaceFullyQualifiedNameWithImportIntention extends Intention {
diff --git a/plugins/ant/src/com/intellij/lang/ant/config/execution/ExecutionHandler.java b/plugins/ant/src/com/intellij/lang/ant/config/execution/ExecutionHandler.java
index 25998e302274..399a46b9721b 100644
--- a/plugins/ant/src/com/intellij/lang/ant/config/execution/ExecutionHandler.java
+++ b/plugins/ant/src/com/intellij/lang/ant/config/execution/ExecutionHandler.java
@@ -82,7 +82,7 @@ public final class ExecutionHandler {
}
/**
- * @param antBuildListener should not be null. Use {@link com.intellij.lang.ant.config.AntBuildListener#NULL}
+ * @param antBuildListener should not be null. Use {@link AntBuildListener#NULL}
*/
public static void runBuild(final AntBuildFileBase buildFile,
List targets,
@@ -93,7 +93,7 @@ public final class ExecutionHandler {
}
/**
- * @param antBuildListener should not be null. Use {@link com.intellij.lang.ant.config.AntBuildListener#NULL}
+ * @param antBuildListener should not be null. Use {@link AntBuildListener#NULL}
*/
@Nullable
private static FutureResult runBuildImpl(final AntBuildFileBase buildFile,
diff --git a/plugins/coverage-common/src/com/intellij/coverage/CoverageAnnotator.java b/plugins/coverage-common/src/com/intellij/coverage/CoverageAnnotator.java
index 43b39e1f1e9c..89e05a9817ec 100644
--- a/plugins/coverage-common/src/com/intellij/coverage/CoverageAnnotator.java
+++ b/plugins/coverage-common/src/com/intellij/coverage/CoverageAnnotator.java
@@ -12,7 +12,7 @@ import org.jetbrains.annotations.Nullable;
public interface CoverageAnnotator {
/**
*
- * @param directory {@link com.intellij.psi.PsiDirectory} to obtain coverage information for
+ * @param directory {@link PsiDirectory} to obtain coverage information for
* @param manager
* @return human-readable coverage information
*/
@@ -23,7 +23,7 @@ public interface CoverageAnnotator {
/**
*
- * @param file {@link com.intellij.psi.PsiFile} to obtain coverage information for
+ * @param file {@link PsiFile} to obtain coverage information for
* @param manager
* @return human-readable coverage information
*/
diff --git a/plugins/coverage-common/src/com/intellij/coverage/CoverageDataManager.java b/plugins/coverage-common/src/com/intellij/coverage/CoverageDataManager.java
index 62b085fa66c8..0ce4d8636be4 100644
--- a/plugins/coverage-common/src/com/intellij/coverage/CoverageDataManager.java
+++ b/plugins/coverage-common/src/com/intellij/coverage/CoverageDataManager.java
@@ -80,7 +80,7 @@ public abstract class CoverageDataManager {
* runs computation in read action, blocking project close till action has been run,
* and doing nothing in case projectClosing() event has been already broadcasted.
* Note that actions must not be long running not to cause significant pauses on project close.
- * @param computation {@link com.intellij.openapi.util.Computable to be run}
+ * @param computation {@link Computable to be run}
* @return result of the computation or null if the project is already closing.
*/
@Nullable
diff --git a/plugins/coverage/coverage_rt/src/listeners/IDEATestNGCoverageListener.java b/plugins/coverage/coverage_rt/src/listeners/IDEATestNGCoverageListener.java
index 047fe62bea7a..0ad97ff18d27 100644
--- a/plugins/coverage/coverage_rt/src/listeners/IDEATestNGCoverageListener.java
+++ b/plugins/coverage/coverage_rt/src/listeners/IDEATestNGCoverageListener.java
@@ -1,15 +1,17 @@
package com.intellij.coverage.listeners;
+import com.intellij.rt.coverage.data.ProjectData;
import com.intellij.rt.testng.IDEATestNGListener;
import org.testng.ITestContext;
import org.testng.ITestResult;
public class IDEATestNGCoverageListener extends CoverageListener implements IDEATestNGListener {
+ @Override
public void onTestStart(final ITestResult iTestResult) {
final Object data = getData();
if (data != null) {
- ((com.intellij.rt.coverage.data.ProjectData)data).testStarted(getSanitizeTestName(iTestResult));
+ ((ProjectData)data).testStarted(getSanitizeTestName(iTestResult));
}
}
@@ -17,34 +19,40 @@ public class IDEATestNGCoverageListener extends CoverageListener implements IDEA
return sanitize(iTestResult.getTestClass().getName(), iTestResult.getName());
}
+ @Override
public void onTestSuccess(final ITestResult iTestResult) {
final Object data = getData();
if (data != null) {
- ((com.intellij.rt.coverage.data.ProjectData)data).testEnded(getSanitizeTestName(iTestResult));
+ ((ProjectData)data).testEnded(getSanitizeTestName(iTestResult));
}
}
+ @Override
public void onTestFailure(final ITestResult iTestResult) {
final Object data = getData();
if (data != null) {
- ((com.intellij.rt.coverage.data.ProjectData)data).testEnded(getSanitizeTestName(iTestResult));
+ ((ProjectData)data).testEnded(getSanitizeTestName(iTestResult));
}
}
+ @Override
public void onTestSkipped(final ITestResult iTestResult) {
final Object data = getData();
if (data != null) {
- ((com.intellij.rt.coverage.data.ProjectData)data).testEnded(getSanitizeTestName(iTestResult));
+ ((ProjectData)data).testEnded(getSanitizeTestName(iTestResult));
}
}
+ @Override
public void onTestFailedButWithinSuccessPercentage(final ITestResult iTestResult) {
}
+ @Override
public void onStart(final ITestContext iTestContext) {
}
+ @Override
public void onFinish(final ITestContext iTestContext) {
}
diff --git a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/EditAction.java b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/EditAction.java
index fe89d7525534..c103470ff8f4 100644
--- a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/EditAction.java
+++ b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/EditAction.java
@@ -15,6 +15,7 @@
*/
package com.intellij.cvsSupport2.actions;
+import com.intellij.CvsBundle;
import com.intellij.cvsSupport2.CvsVcs2;
import com.intellij.cvsSupport2.actions.cvsContext.CvsContext;
import com.intellij.cvsSupport2.actions.cvsContext.CvsContextWrapper;
@@ -51,7 +52,7 @@ public class EditAction extends AbstractActionFromEditGroup {
@Override
protected String getTitle(VcsContext context) {
- return com.intellij.CvsBundle.message("action.name.edit");
+ return CvsBundle.message("action.name.edit");
}
@Override
diff --git a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/WatchOffAction.java b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/WatchOffAction.java
index f3a3ce256cab..103ca82b3c47 100644
--- a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/WatchOffAction.java
+++ b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/WatchOffAction.java
@@ -15,6 +15,7 @@
*/
package com.intellij.cvsSupport2.actions;
+import com.intellij.CvsBundle;
import com.intellij.openapi.vcs.actions.VcsContext;
import org.netbeans.lib.cvsclient.command.watch.WatchMode;
@@ -24,7 +25,7 @@ import org.netbeans.lib.cvsclient.command.watch.WatchMode;
public class WatchOffAction extends AbstractWatchOnOffAction {
@Override
protected String getTitle(VcsContext context) {
- return com.intellij.CvsBundle.message("operation.name.watching.off");
+ return CvsBundle.message("operation.name.watching.off");
}
@Override
diff --git a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/WatchOnAction.java b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/WatchOnAction.java
index 7de2ab70c668..2bb73e294d0c 100644
--- a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/WatchOnAction.java
+++ b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/WatchOnAction.java
@@ -15,6 +15,7 @@
*/
package com.intellij.cvsSupport2.actions;
+import com.intellij.CvsBundle;
import com.intellij.openapi.vcs.actions.VcsContext;
import org.netbeans.lib.cvsclient.command.watch.WatchMode;
@@ -24,7 +25,7 @@ import org.netbeans.lib.cvsclient.command.watch.WatchMode;
public class WatchOnAction extends AbstractWatchOnOffAction {
@Override
protected String getTitle(VcsContext context) {
- return com.intellij.CvsBundle.message("operation.name.watching.on");
+ return CvsBundle.message("operation.name.watching.on");
}
@Override
diff --git a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/WatchRemoveAction.java b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/WatchRemoveAction.java
index b40ec299f6b2..fcc9e39a20e9 100644
--- a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/WatchRemoveAction.java
+++ b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/actions/WatchRemoveAction.java
@@ -15,6 +15,7 @@
*/
package com.intellij.cvsSupport2.actions;
+import com.intellij.CvsBundle;
import com.intellij.cvsSupport2.config.CvsConfiguration;
import com.intellij.cvsSupport2.cvsoperations.cvsWatch.ui.WatcherDialog;
import com.intellij.openapi.vcs.actions.VcsContext;
@@ -27,7 +28,7 @@ import org.netbeans.lib.cvsclient.command.watch.WatchMode;
public class WatchRemoveAction extends AbstractWatchAction {
@Override
protected String getTitle(VcsContext context) {
- return com.intellij.CvsBundle.message("operation.name.watching.remove");
+ return CvsBundle.message("operation.name.watching.remove");
}
@Override
diff --git a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/connections/ssh/ui/SshPasswordDialog.java b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/connections/ssh/ui/SshPasswordDialog.java
index bd5f698cf300..ac5fb4e69bda 100644
--- a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/connections/ssh/ui/SshPasswordDialog.java
+++ b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/connections/ssh/ui/SshPasswordDialog.java
@@ -15,6 +15,7 @@
*/
package com.intellij.cvsSupport2.connections.ssh.ui;
+import com.intellij.CvsBundle;
import com.intellij.openapi.ui.DialogWrapper;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.util.ui.UIUtil;
@@ -32,7 +33,7 @@ public class SshPasswordDialog extends DialogWrapper{
public SshPasswordDialog(String propmtText) {
super(true);
myLabel.setText(propmtText);
- setTitle(com.intellij.CvsBundle.message("dialog.title.ssh.password"));
+ setTitle(CvsBundle.message("dialog.title.ssh.password"));
init();
myAdditionalLbl.setForeground(UIUtil.getInactiveTextColor());
myAdditionalLbl.setVisible(false);
diff --git a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsBrowser/LoginAbortedException.java b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsBrowser/LoginAbortedException.java
index a787d9c8f76b..1188031a5819 100644
--- a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsBrowser/LoginAbortedException.java
+++ b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsBrowser/LoginAbortedException.java
@@ -15,11 +15,13 @@
*/
package com.intellij.cvsSupport2.cvsBrowser;
+import com.intellij.CvsBundle;
+
/**
* author: lesya
*/
public class LoginAbortedException extends RuntimeException{
public LoginAbortedException() {
- super(com.intellij.CvsBundle.message("exception.text.cannot.login.to.cvs"));
+ super(CvsBundle.message("exception.text.cannot.login.to.cvs"));
}
}
diff --git a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/cvsAdd/ui/AddOneFileOptionsDialog.java b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/cvsAdd/ui/AddOneFileOptionsDialog.java
index d07c0d4c8579..1ddfeaab0adc 100644
--- a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/cvsAdd/ui/AddOneFileOptionsDialog.java
+++ b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/cvsAdd/ui/AddOneFileOptionsDialog.java
@@ -15,6 +15,7 @@
*/
package com.intellij.cvsSupport2.cvsoperations.cvsAdd.ui;
+import com.intellij.CvsBundle;
import com.intellij.cvsSupport2.cvsoperations.cvsAdd.AddedFileInfo;
import com.intellij.cvsSupport2.ui.Options;
import com.intellij.openapi.project.Project;
@@ -35,7 +36,7 @@ public class AddOneFileOptionsDialog extends AbstractAddOptionsDialog{
super(project, options);
myAddedFileInfo = file;
myAddedFileInfo.setIncluded(true);
- setTitle(com.intellij.CvsBundle.message("dialog.title.add.file.to.cvs", file.getFile().getName()));
+ setTitle(CvsBundle.message("dialog.title.add.file.to.cvs", file.getFile().getName()));
init();
}
diff --git a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/cvsEdit/ui/EditOptionsDialog.java b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/cvsEdit/ui/EditOptionsDialog.java
index 943b9376166a..0d5e630f7e62 100644
--- a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/cvsEdit/ui/EditOptionsDialog.java
+++ b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/cvsEdit/ui/EditOptionsDialog.java
@@ -15,6 +15,7 @@
*/
package com.intellij.cvsSupport2.cvsoperations.cvsEdit.ui;
+import com.intellij.CvsBundle;
import com.intellij.cvsSupport2.CvsVcs2;
import com.intellij.cvsSupport2.config.CvsConfiguration;
import com.intellij.openapi.project.Project;
@@ -29,13 +30,13 @@ import java.awt.*;
public class EditOptionsDialog extends OptionsDialog {
private final JPanel myPanel = new JPanel(new BorderLayout());
- private final JCheckBox myReservedEdit = new JCheckBox(com.intellij.CvsBundle.message("checkbox.text.reserved.edit"));
+ private final JCheckBox myReservedEdit = new JCheckBox(CvsBundle.message("checkbox.text.reserved.edit"));
public EditOptionsDialog(Project project) {
super(project);
myPanel.add(myReservedEdit, BorderLayout.NORTH);
myReservedEdit.setSelected(CvsConfiguration.getInstance(project).RESERVED_EDIT);
- setTitle(com.intellij.CvsBundle.message("dialog.title.edit.options"));
+ setTitle(CvsBundle.message("dialog.title.edit.options"));
init();
}
diff --git a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/cvsUpdate/ui/CorruptedProjectFilesDialog.java b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/cvsUpdate/ui/CorruptedProjectFilesDialog.java
index 5e3c50386785..130b86877d84 100644
--- a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/cvsUpdate/ui/CorruptedProjectFilesDialog.java
+++ b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/cvsUpdate/ui/CorruptedProjectFilesDialog.java
@@ -15,6 +15,7 @@
*/
package com.intellij.cvsSupport2.cvsoperations.cvsUpdate.ui;
+import com.intellij.CvsBundle;
import com.intellij.cvsSupport2.Options;
import com.intellij.cvsSupport2.config.CvsConfiguration;
import com.intellij.cvsSupport2.cvsoperations.cvsUpdate.MergedWithConflictProjectOrModuleFile;
@@ -35,6 +36,7 @@ import java.awt.event.ActionEvent;
import java.io.*;
import java.util.ArrayList;
import java.util.Collection;
+import java.util.List;
public class CorruptedProjectFilesDialog extends DialogWrapper {
@@ -42,7 +44,7 @@ public class CorruptedProjectFilesDialog extends DialogWrapper {
private JLabel myMessageLabel;
private JLabel myIconLabel;
- private final java.util.List myCorruptedFiles;
+ private final List myCorruptedFiles;
private final Project myProject;
private JPanel myPanel;
private JRadioButton myGetAllOption;
@@ -65,7 +67,7 @@ public class CorruptedProjectFilesDialog extends DialogWrapper {
myShowDialogOption.setSelected(true);
- setTitle(com.intellij.CvsBundle.message("operation.name.update"));
+ setTitle(CvsBundle.message("operation.name.update"));
init();
showNextFileInfo();
}
@@ -86,10 +88,10 @@ public class CorruptedProjectFilesDialog extends DialogWrapper {
VirtualFile currentVirtualFile = getCurrentVirtualFile();
FileType fileType = currentVirtualFile.getFileType();
myMessageLabel.setText(
- com.intellij.CvsBundle.message("label.project.files.cannot.be.merged.without.conflict",
+ CvsBundle.message("label.project.files.cannot.be.merged.without.conflict",
fileType.getDescription(), currentVirtualFile.getPresentableUrl()));
- setTitle(com.intellij.CvsBundle.message("dialog.title.file.cannot.be.merged.without.conflicts", fileType.getDescription(), currentVirtualFile.getName()));
+ setTitle(CvsBundle.message("dialog.title.file.cannot.be.merged.without.conflicts", fileType.getDescription(), currentVirtualFile.getName()));
}
private void onCurrentFileProcessed(boolean isOk) {
@@ -118,7 +120,7 @@ public class CorruptedProjectFilesDialog extends DialogWrapper {
private class SkipFile extends AbstractAction {
SkipFile() {
- putValue(NAME, com.intellij.CvsBundle.message("button.text.skip"));
+ putValue(NAME, CvsBundle.message("button.text.skip"));
}
@Override
@@ -129,7 +131,7 @@ public class CorruptedProjectFilesDialog extends DialogWrapper {
private class GetFile extends AbstractAction {
GetFile() {
- putValue(NAME, com.intellij.CvsBundle.message("button.text.get"));
+ putValue(NAME, CvsBundle.message("button.text.get"));
}
@Override
@@ -141,7 +143,7 @@ public class CorruptedProjectFilesDialog extends DialogWrapper {
private class SkipAll extends AbstractAction {
SkipAll() {
- putValue(NAME, com.intellij.CvsBundle.message("button.text.skip.all"));
+ putValue(NAME, CvsBundle.message("button.text.skip.all"));
}
@Override
@@ -153,7 +155,7 @@ public class CorruptedProjectFilesDialog extends DialogWrapper {
private class GetAll extends AbstractAction {
GetAll() {
- putValue(NAME, com.intellij.CvsBundle.message("button.text.get.all"));
+ putValue(NAME, CvsBundle.message("button.text.get.all"));
}
@Override
@@ -192,7 +194,7 @@ public class CorruptedProjectFilesDialog extends DialogWrapper {
}
*/
- private void saveExternally(VirtualFile currentVirtualFile, Document document) {
+ private static void saveExternally(VirtualFile currentVirtualFile, Document document) {
FileDocumentManager fileDocumentManager = FileDocumentManager.getInstance();
fileDocumentManager.saveDocument(fileDocumentManager.getDocument(currentVirtualFile));
File ioProjectFile = VfsUtil.virtualToIoFile(currentVirtualFile);
diff --git a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/cvsWatch/ui/WatcherDialog.java b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/cvsWatch/ui/WatcherDialog.java
index 40a02c2ce066..86c27f86dd78 100644
--- a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/cvsWatch/ui/WatcherDialog.java
+++ b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/cvsWatch/ui/WatcherDialog.java
@@ -15,6 +15,7 @@
*/
package com.intellij.cvsSupport2.cvsoperations.cvsWatch.ui;
+import com.intellij.CvsBundle;
import com.intellij.openapi.ui.DialogWrapper;
import org.netbeans.lib.cvsclient.command.Watch;
@@ -25,7 +26,7 @@ import javax.swing.*;
*/
public class WatcherDialog extends DialogWrapper{
private JPanel myPanel;
- private JComboBox myWatchingActions;
+ private JComboBox myWatchingActions;
public WatcherDialog(Watch defaultWatch, String title) {
super(true);
@@ -36,7 +37,7 @@ public class WatcherDialog extends DialogWrapper{
myWatchingActions.setSelectedItem(defaultWatch);
- setTitle(com.intellij.CvsBundle.message("dialog.title.watchers.or.editors.settings", title));
+ setTitle(CvsBundle.message("dialog.title.watchers.or.editors.settings", title));
init();
}
diff --git a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/javacvsSpecificImpls/AdminWriterStoringRepositoryPath.java b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/javacvsSpecificImpls/AdminWriterStoringRepositoryPath.java
index 8a046903d0a9..e252e7cf55c5 100644
--- a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/javacvsSpecificImpls/AdminWriterStoringRepositoryPath.java
+++ b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/cvsoperations/javacvsSpecificImpls/AdminWriterStoringRepositoryPath.java
@@ -15,6 +15,7 @@
*/
package com.intellij.cvsSupport2.cvsoperations.javacvsSpecificImpls;
+import com.intellij.CvsBundle;
import com.intellij.cvsSupport2.CvsUtil;
import com.intellij.cvsSupport2.cvsoperations.common.RepositoryPathProvider;
import com.intellij.cvsSupport2.errorHandling.InvalidModuleDescriptionException;
@@ -90,7 +91,8 @@ public class AdminWriterStoringRepositoryPath implements IAdminWriter, Repositor
@Override
public String getRepositoryPath(String repository) {
- if (myRepositoryPath == null) throw new InvalidModuleDescriptionException(com.intellij.CvsBundle.message("error.mesage.cannot.expand.module", myModuleName), myCvsRoot);
+ if (myRepositoryPath == null) throw new InvalidModuleDescriptionException(
+ CvsBundle.message("error.mesage.cannot.expand.module", myModuleName), myCvsRoot);
return myRepositoryPath;
}
diff --git a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/errorHandling/CannotFindCvsRootException.java b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/errorHandling/CannotFindCvsRootException.java
index 6ea3a82e5cbb..bcc472e80f7d 100644
--- a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/errorHandling/CannotFindCvsRootException.java
+++ b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/errorHandling/CannotFindCvsRootException.java
@@ -15,6 +15,8 @@
*/
package com.intellij.cvsSupport2.errorHandling;
+import com.intellij.CvsBundle;
+
import java.io.File;
/**
@@ -23,6 +25,6 @@ import java.io.File;
public class CannotFindCvsRootException extends Exception{
public CannotFindCvsRootException(File file) {
- super(com.intellij.CvsBundle.message("exception.text.cannot.find.cvsroot.for.file", file));
+ super(CvsBundle.message("exception.text.cannot.find.cvsroot.for.file", file));
}
}
diff --git a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/ui/CvsTabbedWindowComponent.java b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/ui/CvsTabbedWindowComponent.java
index 36361fa08245..751f1ec80062 100644
--- a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/ui/CvsTabbedWindowComponent.java
+++ b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/ui/CvsTabbedWindowComponent.java
@@ -15,6 +15,7 @@
*/
package com.intellij.cvsSupport2.ui;
+import com.intellij.CvsBundle;
import com.intellij.icons.AllIcons;
import com.intellij.ide.actions.ContextHelpAction;
import com.intellij.openapi.actionSystem.*;
@@ -85,7 +86,7 @@ public class CvsTabbedWindowComponent extends JPanel implements DataProvider, Cv
private class CloseAction extends AnAction implements DumbAware {
CloseAction() {
- super(com.intellij.CvsBundle.message("close.tab.action.name"), "", AllIcons.Actions.Cancel);
+ super(CvsBundle.message("close.tab.action.name"), "", AllIcons.Actions.Cancel);
}
@Override
diff --git a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/ui/RestoreDirectoriesConfirmationDialog.java b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/ui/RestoreDirectoriesConfirmationDialog.java
index dc1688722892..465e2da7e464 100644
--- a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/ui/RestoreDirectoriesConfirmationDialog.java
+++ b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/ui/RestoreDirectoriesConfirmationDialog.java
@@ -15,6 +15,7 @@
*/
package com.intellij.cvsSupport2.ui;
+import com.intellij.CvsBundle;
import com.intellij.cvsSupport2.config.CvsApplicationLevelConfiguration;
import com.intellij.openapi.ui.Messages;
import com.intellij.util.ui.OptionsDialog;
@@ -32,7 +33,7 @@ public class RestoreDirectoriesConfirmationDialog extends OptionsDialog{
public RestoreDirectoriesConfirmationDialog() {
super(null);
- setTitle(com.intellij.CvsBundle.message("dialog.title.restore.directories.information"));
+ setTitle(CvsBundle.message("dialog.title.restore.directories.information"));
init();
}
@@ -57,7 +58,7 @@ public class RestoreDirectoriesConfirmationDialog extends OptionsDialog{
@Override
protected Action @NotNull [] createActions() {
Action okAction = getOKAction();
- UIUtil.setActionNameAndMnemonic(com.intellij.CvsBundle.message("button.text.close"), okAction);
+ UIUtil.setActionNameAndMnemonic(CvsBundle.message("button.text.close"), okAction);
return new Action[]{okAction};
}
diff --git a/plugins/generate-tostring/src/org/jetbrains/java/generate/GenerateToStringWorker.java b/plugins/generate-tostring/src/org/jetbrains/java/generate/GenerateToStringWorker.java
index 7d4c4eee5f35..685b5b0a4733 100644
--- a/plugins/generate-tostring/src/org/jetbrains/java/generate/GenerateToStringWorker.java
+++ b/plugins/generate-tostring/src/org/jetbrains/java/generate/GenerateToStringWorker.java
@@ -56,7 +56,7 @@ public class GenerateToStringWorker {
/**
* Creates the {@code toString} method.
*
- * @param selectedMembers the selected members as both {@link com.intellij.psi.PsiField} and {@link com.intellij.psi.PsiMethod}.
+ * @param selectedMembers the selected members as both {@link PsiField} and {@link PsiMethod}.
* @param policy conflict resolution policy
* @param params additional parameters stored with key/value in the map.
* @param template the template to use
diff --git a/plugins/generate-tostring/src/org/jetbrains/java/generate/element/ElementUtils.java b/plugins/generate-tostring/src/org/jetbrains/java/generate/element/ElementUtils.java
index 954f60d7bc83..9c6ed69de80a 100644
--- a/plugins/generate-tostring/src/org/jetbrains/java/generate/element/ElementUtils.java
+++ b/plugins/generate-tostring/src/org/jetbrains/java/generate/element/ElementUtils.java
@@ -60,7 +60,7 @@ public class ElementUtils {
/**
* Gets the list of members to be put in the VelocityContext.
*
- * @param members a list of {@link com.intellij.psi.PsiMember} objects.
+ * @param members a list of {@link PsiMember} objects.
* @return a filtered list of only the methods as a {@link MethodElement} objects.
*/
public static List getOnlyAsMethodElements(Collection extends PsiMember> members) {
diff --git a/plugins/generate-tostring/src/org/jetbrains/java/generate/template/TemplatesManager.java b/plugins/generate-tostring/src/org/jetbrains/java/generate/template/TemplatesManager.java
index 8641a856cb58..879b8cc835ba 100644
--- a/plugins/generate-tostring/src/org/jetbrains/java/generate/template/TemplatesManager.java
+++ b/plugins/generate-tostring/src/org/jetbrains/java/generate/template/TemplatesManager.java
@@ -39,7 +39,7 @@ public abstract class TemplatesManager implements PersistentStateComponent templatesManagerClass) throws IOException {
BufferedInputStream in = new BufferedInputStream(templatesManagerClass.getResourceAsStream(resource));
diff --git a/plugins/git4idea/src/git4idea/GitBranch.java b/plugins/git4idea/src/git4idea/GitBranch.java
index f0cbcd906dd5..7dbe51651616 100644
--- a/plugins/git4idea/src/git4idea/GitBranch.java
+++ b/plugins/git4idea/src/git4idea/GitBranch.java
@@ -17,7 +17,7 @@ import org.jetbrains.annotations.Nullable;
*
* It contains information about the branch name and the hash it points to.
* Note that the object (including the hash) is immutable. That means that if branch reference move along, you have to get new instance
- * of the GitBranch object, probably from {@link GitRepository#getBranches()} or {@link git4idea.repo.GitRepository#getCurrentBranch()}.
+ * of the GitBranch object, probably from {@link GitRepository#getBranches()} or {@link GitRepository#getCurrentBranch()}.
*
*
* GitBranches are equal, if their full names are equal. That means that if two GitBranch objects have different hashes, they
diff --git a/plugins/git4idea/src/git4idea/branch/GitBranchUtil.java b/plugins/git4idea/src/git4idea/branch/GitBranchUtil.java
index 66f6fade76a7..fe8f33217030 100644
--- a/plugins/git4idea/src/git4idea/branch/GitBranchUtil.java
+++ b/plugins/git4idea/src/git4idea/branch/GitBranchUtil.java
@@ -98,7 +98,7 @@ public class GitBranchUtil {
}
/**
- * Convert {@link git4idea.GitRemoteBranch GitRemoteBranches} to their names, and remove remote HEAD pointers: origin/HEAD.
+ * Convert {@link GitRemoteBranch GitRemoteBranches} to their names, and remove remote HEAD pointers: origin/HEAD.
*/
@NotNull
public static Collection getBranchNamesWithoutRemoteHead(@NotNull Collection extends GitRemoteBranch> remoteBranches) {
diff --git a/plugins/git4idea/src/git4idea/changes/GitChangeUtils.java b/plugins/git4idea/src/git4idea/changes/GitChangeUtils.java
index ec90cfbfcb35..59509d800fa7 100644
--- a/plugins/git4idea/src/git4idea/changes/GitChangeUtils.java
+++ b/plugins/git4idea/src/git4idea/changes/GitChangeUtils.java
@@ -535,7 +535,7 @@ public class GitChangeUtils {
@NotNull
public FilePath getFilePath() {
- com.intellij.openapi.vcs.@Nullable FilePath t = afterPath != null ? afterPath : beforePath;
+ @Nullable FilePath t = afterPath != null ? afterPath : beforePath;
return Objects.requireNonNull(t);
}
diff --git a/plugins/git4idea/src/git4idea/commands/GitTask.java b/plugins/git4idea/src/git4idea/commands/GitTask.java
index c597920a1b53..d8ec2d1936bd 100644
--- a/plugins/git4idea/src/git4idea/commands/GitTask.java
+++ b/plugins/git4idea/src/git4idea/commands/GitTask.java
@@ -241,7 +241,7 @@ public class GitTask {
}
/**
- * We're using this interface here to work with Task, because standard {@link Task#run(com.intellij.openapi.progress.ProgressIndicator)}
+ * We're using this interface here to work with Task, because standard {@link Task#run(ProgressIndicator)}
* is busy with timers.
*/
private interface TaskExecution {
@@ -333,13 +333,11 @@ public class GitTask {
private ProgressIndicator myIndicator;
private final TaskExecution myTask;
private ScheduledFuture> myTimer;
- private final Project myProject;
GitTaskDelegate(Project project, GitHandler handler, TaskExecution task) {
- myProject = project;
myHandler = handler;
myTask = task;
- Disposer.register(myProject, this);
+ Disposer.register(project, this);
}
public void run(ProgressIndicator indicator) {
diff --git a/plugins/git4idea/src/git4idea/history/GitHistoryUtils.java b/plugins/git4idea/src/git4idea/history/GitHistoryUtils.java
index 8def37670e0a..8a62eab8bab2 100644
--- a/plugins/git4idea/src/git4idea/history/GitHistoryUtils.java
+++ b/plugins/git4idea/src/git4idea/history/GitHistoryUtils.java
@@ -1,16 +1,6 @@
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package git4idea.history;
-import static git4idea.history.GitLogParser.GitLogOption.AUTHOR_NAME;
-import static git4idea.history.GitLogParser.GitLogOption.AUTHOR_TIME;
-import static git4idea.history.GitLogParser.GitLogOption.BODY;
-import static git4idea.history.GitLogParser.GitLogOption.COMMITTER_NAME;
-import static git4idea.history.GitLogParser.GitLogOption.COMMIT_TIME;
-import static git4idea.history.GitLogParser.GitLogOption.HASH;
-import static git4idea.history.GitLogParser.GitLogOption.PARENTS;
-import static git4idea.history.GitLogParser.GitLogOption.RAW_BODY;
-import static git4idea.history.GitLogParser.GitLogOption.SUBJECT;
-
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.Pair;
@@ -30,11 +20,7 @@ import com.intellij.vcs.log.TimedVcsCommit;
import com.intellij.vcs.log.VcsCommitMetadata;
import com.intellij.vcs.log.VcsLogObjectsFactory;
import com.intellij.vcsUtil.VcsUtil;
-import git4idea.GitBranch;
-import git4idea.GitCommit;
-import git4idea.GitRevisionNumber;
-import git4idea.GitUtil;
-import git4idea.GitVcs;
+import git4idea.*;
import git4idea.commands.Git;
import git4idea.commands.GitCommand;
import git4idea.commands.GitCommandResult;
@@ -42,16 +28,13 @@ import git4idea.commands.GitLineHandler;
import git4idea.history.browser.SHAHash;
import git4idea.repo.GitBranchTrackInfo;
import git4idea.repo.GitRepository;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.Date;
-import java.util.List;
-import java.util.Objects;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
+import java.util.*;
+
+import static git4idea.history.GitLogParser.GitLogOption.*;
+
/**
* A collection of methods for retrieving history information from native Git.
*/
@@ -173,10 +156,9 @@ public class GitHistoryUtils {
* Create a proper list of parameters for `git log` command from a list of hashes.
*
* @param vcs an instance of {@link GitVcs} class for the repository, could be obtained from the
- * corresponding {@link git4idea.repo.GitRepository} or from a project by calling {@code GitVcs.getInstance(project)}
+ * corresponding {@link GitRepository} or from a project by calling {@code GitVcs.getInstance(project)}
* @param hashes a list of hashes to call `git log` for
* @return a list of parameters that could be fed to a `git log` command
- * @throws VcsException if there is a problem with running git
*/
public static String @NotNull [] formHashParameters(@NotNull GitVcs vcs, @NotNull Collection hashes) {
List parameters = new ArrayList<>();
diff --git a/plugins/git4idea/src/git4idea/history/GitLogRecord.java b/plugins/git4idea/src/git4idea/history/GitLogRecord.java
index 1635607892d4..fe39bb5cf59b 100644
--- a/plugins/git4idea/src/git4idea/history/GitLogRecord.java
+++ b/plugins/git4idea/src/git4idea/history/GitLogRecord.java
@@ -19,7 +19,7 @@ import static git4idea.history.GitLogParser.GitLogOption.*;
* The access methods try heavily to return some default value if real is unavailable, for example, blank string is better than null.
* BUT if one tries to get an option which was not specified to the GitLogParser, one will get null.
*
- * @see git4idea.history.GitLogParser
+ * @see GitLogParser
*/
class GitLogRecord {
private static final Logger LOG = Logger.getInstance(GitLogRecord.class);
@@ -175,7 +175,7 @@ class GitLogRecord {
}
/**
- * for debugging purposes - see {@link GitUtil#parseTimestampWithNFEReport(String, git4idea.commands.GitHandler, String)}.
+ * for debugging purposes - see {@link GitUtil#parseTimestampWithNFEReport(String, GitHandler, String)}.
*/
public void setUsedHandler(GitHandler handler) {
myHandler = handler;
diff --git a/plugins/git4idea/src/git4idea/push/GitPushRepoResult.java b/plugins/git4idea/src/git4idea/push/GitPushRepoResult.java
index 9c035e0e1575..54f5d3bbfb9a 100644
--- a/plugins/git4idea/src/git4idea/push/GitPushRepoResult.java
+++ b/plugins/git4idea/src/git4idea/push/GitPushRepoResult.java
@@ -32,7 +32,7 @@ import java.util.List;
* Includes information about the number of pushed commits (or -1 if undefined),
* and tells whether the repository was updated after the push was rejected.
*
- * @see git4idea.push.GitPushNativeResult
+ * @see GitPushNativeResult
*/
public class GitPushRepoResult {
diff --git a/plugins/git4idea/src/git4idea/rebase/GitRebaseProblemDetector.java b/plugins/git4idea/src/git4idea/rebase/GitRebaseProblemDetector.java
index eaa74778de5b..58aadb3e4983 100644
--- a/plugins/git4idea/src/git4idea/rebase/GitRebaseProblemDetector.java
+++ b/plugins/git4idea/src/git4idea/rebase/GitRebaseProblemDetector.java
@@ -27,7 +27,7 @@ import git4idea.commands.GitLineHandlerListener;
* discarded while merging. In that case 'git rebase --skip' is used.
*
*
- * To use the detector add it as a {@link git4idea.commands.GitLineHandlerListener} to {@link git4idea.commands.GitLineHandler}
+ * To use the detector add it as a {@link GitLineHandlerListener} to {@link git4idea.commands.GitLineHandler}
*
*/
public class GitRebaseProblemDetector implements GitLineHandlerListener {
diff --git a/plugins/git4idea/src/git4idea/repo/GitRepository.java b/plugins/git4idea/src/git4idea/repo/GitRepository.java
index 6c64f267efd6..df8b501bda36 100644
--- a/plugins/git4idea/src/git4idea/repo/GitRepository.java
+++ b/plugins/git4idea/src/git4idea/repo/GitRepository.java
@@ -20,7 +20,7 @@ import java.util.Collection;
* All get-methods (like {@link #getCurrentRevision()}) are just getters of the correspondent fields and thus are very fast.
*
*
- * The GitRepository is updated "externally" by the {@link git4idea.repo.GitRepositoryUpdater}, when correspondent {@code .git/} service files
+ * The GitRepository is updated "externally" by the {@link GitRepositoryUpdater}, when correspondent {@code .git/} service files
* change.
*
*
diff --git a/plugins/git4idea/src/git4idea/status/GitChangesCollector.java b/plugins/git4idea/src/git4idea/status/GitChangesCollector.java
index 66454d757fbb..3ff8ed285b9d 100644
--- a/plugins/git4idea/src/git4idea/status/GitChangesCollector.java
+++ b/plugins/git4idea/src/git4idea/status/GitChangesCollector.java
@@ -30,7 +30,7 @@ import java.util.*;
/**
*
- * Collects changes from the Git repository in the given {@link com.intellij.openapi.vcs.changes.VcsDirtyScope}
+ * Collects changes from the Git repository in the given {@link VcsDirtyScope}
* by calling {@code 'git status --porcelain -z'} on it.
* Works only on Git 1.7.0 and later.
*
diff --git a/plugins/gradle/java/src/service/resolve/dsl/GradleDslAnnotator.java b/plugins/gradle/java/src/service/resolve/dsl/GradleDslAnnotator.java
index 5c0c87d8d44f..f63e88b50011 100644
--- a/plugins/gradle/java/src/service/resolve/dsl/GradleDslAnnotator.java
+++ b/plugins/gradle/java/src/service/resolve/dsl/GradleDslAnnotator.java
@@ -17,6 +17,7 @@ package org.jetbrains.plugins.gradle.service.resolve.dsl;
import com.intellij.lang.annotation.AnnotationHolder;
import com.intellij.lang.annotation.Annotator;
+import com.intellij.lang.annotation.HighlightSeverity;
import com.intellij.psi.JavaPsiFacade;
import com.intellij.psi.PsiClass;
import com.intellij.psi.PsiElement;
@@ -61,7 +62,7 @@ public class GradleDslAnnotator implements Annotator {
PsiElement nameElement = referenceExpression.getReferenceNameElement();
if (nameElement != null) {
- holder.newSilentAnnotation(com.intellij.lang.annotation.HighlightSeverity.INFORMATION).range(nameElement).textAttributes(MAP_KEY).create();
+ holder.newSilentAnnotation(HighlightSeverity.INFORMATION).range(nameElement).textAttributes(MAP_KEY).create();
}
}
}
diff --git a/plugins/gradle/src/org/jetbrains/plugins/gradle/service/project/GradleProjectResolverExtension.java b/plugins/gradle/src/org/jetbrains/plugins/gradle/service/project/GradleProjectResolverExtension.java
index deb9c2f09564..31d8db774c29 100644
--- a/plugins/gradle/src/org/jetbrains/plugins/gradle/service/project/GradleProjectResolverExtension.java
+++ b/plugins/gradle/src/org/jetbrains/plugins/gradle/service/project/GradleProjectResolverExtension.java
@@ -119,7 +119,7 @@ public interface GradleProjectResolverExtension extends ParametersEnhancer {
/**
* Allows to request gradle tooling models after "sync" tasks are run
*
- * @see BuildActionExecuter.Builder#buildFinished(org.gradle.tooling.BuildAction, org.gradle.tooling.IntermediateResultHandler)
+ * @see BuildActionExecuter.Builder#buildFinished(org.gradle.tooling.BuildAction, IntermediateResultHandler)
*/
@Nullable
default ProjectImportModelProvider getModelProvider() {return null;}
@@ -128,15 +128,15 @@ public interface GradleProjectResolverExtension extends ParametersEnhancer {
* Allows to request gradle tooling models after gradle projects are loaded and before "sync" tasks are run.
* This can be used to setup "sync" tasks for the import
*
- * @see BuildActionExecuter.Builder#projectsLoaded(org.gradle.tooling.BuildAction, org.gradle.tooling.IntermediateResultHandler)
+ * @see BuildActionExecuter.Builder#projectsLoaded(org.gradle.tooling.BuildAction, IntermediateResultHandler)
*/
@Nullable
default ProjectImportModelProvider getProjectsLoadedModelProvider() {return null;}
/**
* @return whether or not this resolver requires Gradle task running infrastructure to be initialized, if any of the resolvers which are
- * used by the resolution return true then the {@link org.gradle.tooling.BuildActionExecuter} will have
- * {@link org.gradle.tooling.BuildActionExecuter#forTasks(String...)} called with an empty list. This will allow
+ * used by the resolution return true then the {@link BuildActionExecuter} will have
+ * {@link BuildActionExecuter#forTasks(String...)} called with an empty list. This will allow
* any tasks that are scheduled by Gradle plugin in the model builders to be run.
*
* @deprecated not required anymore
@@ -225,7 +225,6 @@ public interface GradleProjectResolverExtension extends ParametersEnhancer {
/**
* Allows extension to contribute to init script
* @param taskNames gradle task names to be executed
- * @param jvmParametersSetup jvm configuration that will be applied to Gradle jvm
* @param initScriptConsumer consumer of init script text. Must be called to add script txt
* @param parameters storage for passing optional named parameters
*/
diff --git a/plugins/gradle/src/org/jetbrains/plugins/gradle/service/project/GradleProjectResolverUtil.java b/plugins/gradle/src/org/jetbrains/plugins/gradle/service/project/GradleProjectResolverUtil.java
index 1d95d2109ac5..0dd7ee897159 100644
--- a/plugins/gradle/src/org/jetbrains/plugins/gradle/service/project/GradleProjectResolverUtil.java
+++ b/plugins/gradle/src/org/jetbrains/plugins/gradle/service/project/GradleProjectResolverUtil.java
@@ -14,6 +14,7 @@ import com.intellij.openapi.module.Module;
import com.intellij.openapi.module.ModuleType;
import com.intellij.openapi.module.ModuleTypeManager;
import com.intellij.openapi.roots.DependencyScope;
+import com.intellij.openapi.util.Key;
import com.intellij.openapi.util.Pair;
import com.intellij.openapi.util.io.FileUtil;
import com.intellij.openapi.util.text.StringUtil;
@@ -360,10 +361,10 @@ public final class GradleProjectResolverUtil {
attachSourcesAndJavadocFromGradleCacheIfNeeded(null, gradleUserHomeDir, libraryData);
}
- private static final com.intellij.openapi.util.Key> LIBRARIES_CACHE =
- com.intellij.openapi.util.Key.create("GradleProjectResolverUtil.LIBRARIES_CACHE");
- private static final com.intellij.openapi.util.Key