mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -39,12 +39,14 @@ import com.intellij.psi.PsiExpression;
|
||||
import com.intellij.util.net.NetUtils;
|
||||
import com.sun.jdi.Value;
|
||||
import org.jdom.Element;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public class DebuggerUtilsImpl extends DebuggerUtilsEx{
|
||||
private static final Logger LOG = Logger.getInstance("#com.intellij.debugger.impl.DebuggerUtilsImpl");
|
||||
|
||||
@NotNull
|
||||
public String getComponentName() {
|
||||
return "DebuggerUtils";
|
||||
}
|
||||
|
||||
@@ -27,6 +27,7 @@ import com.intellij.openapi.util.WriteExternalException;
|
||||
import com.intellij.ui.classFilter.ClassFilter;
|
||||
import org.jdom.Element;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
@@ -174,6 +175,7 @@ public class DebuggerSettings implements JDOMExternalizable, ApplicationComponen
|
||||
return null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String getComponentName() {
|
||||
return "DebuggerSettings";
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@ import com.intellij.openapi.components.ProjectComponent;
|
||||
import com.intellij.openapi.util.*;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import org.jdom.Element;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* @author Eugene Zhuravlev
|
||||
@@ -47,6 +48,7 @@ public class ModuleEditorState implements ProjectComponent, JDOMExternalizable{
|
||||
public void projectClosed() {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String getComponentName() {
|
||||
return "ModuleEditorState";
|
||||
}
|
||||
|
||||
+2
@@ -22,6 +22,7 @@ import com.intellij.openapi.module.ModuleConfigurationEditor;
|
||||
import com.intellij.openapi.options.Configurable;
|
||||
import com.intellij.openapi.options.ConfigurationException;
|
||||
import com.intellij.openapi.options.ModuleConfigurableEP;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.util.ArrayList;
|
||||
@@ -58,6 +59,7 @@ public class ModuleLevelConfigurablesEditorProvider implements ModuleConfigurati
|
||||
public void moduleAdded() {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String getComponentName() {
|
||||
return "ModuleLevelConfigurablesEditorProvider";
|
||||
}
|
||||
|
||||
@@ -21,8 +21,8 @@ import com.intellij.openapi.util.InvalidDataException;
|
||||
import com.intellij.openapi.util.JDOMExternalizable;
|
||||
import com.intellij.openapi.util.WriteExternalException;
|
||||
import org.jdom.Element;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -39,6 +39,7 @@ public class OldModuleRootsKeeper implements ModuleComponent, JDOMExternalizable
|
||||
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String getComponentName() {
|
||||
return "ModuleRootManager";
|
||||
}
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
package com.intellij.refactoring;
|
||||
|
||||
import junit.textui.TestRunner;
|
||||
import junit.framework.TestSuite;
|
||||
import com.intellij.TestAll;
|
||||
import junit.textui.TestRunner;
|
||||
|
||||
/**
|
||||
* @author dsl
|
||||
|
||||
+2
@@ -26,6 +26,7 @@ import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.openapi.roots.ModuleRootManager;
|
||||
import com.intellij.openapi.startup.StartupManager;
|
||||
import org.jdom.Element;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* @author mike
|
||||
@@ -58,6 +59,7 @@ public class VcsManagerPerModuleConfiguration implements JDOMExternalizable, Mod
|
||||
|
||||
public void initComponent() { }
|
||||
|
||||
@NotNull
|
||||
public String getComponentName() {
|
||||
return "VcsManagerConfiguration";
|
||||
}
|
||||
|
||||
@@ -155,6 +155,7 @@ public class ToolManager implements ExportableApplicationComponent {
|
||||
}
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String getComponentName() {
|
||||
return "ToolManager";
|
||||
}
|
||||
|
||||
@@ -44,9 +44,7 @@ public abstract class ComboBoxAction extends AnAction implements CustomComponent
|
||||
public JComponent createCustomComponent(Presentation presentation) {
|
||||
JPanel panel=new JPanel(new GridBagLayout());
|
||||
ComboBoxButton button = new ComboBoxButton(presentation);
|
||||
panel.add(button,
|
||||
new GridBagConstraints(0,0,1,1,1,1,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(0,3,0,3),0,0)
|
||||
);
|
||||
panel.add(button, new GridBagConstraints(0,0,1,1,1,1,GridBagConstraints.CENTER,GridBagConstraints.BOTH,new Insets(0,3,0,3),0,0));
|
||||
return panel;
|
||||
}
|
||||
|
||||
|
||||
@@ -17,6 +17,9 @@ package com.intellij.openapi.editor.event;
|
||||
|
||||
import java.util.EventListener;
|
||||
|
||||
/**
|
||||
* @see {@link com.intellij.openapi.editor.EditorFactory#addEditorFactoryListener(com.intellij.openapi.editor.event.EditorFactoryListener)}
|
||||
*/
|
||||
public interface EditorFactoryListener extends EventListener {
|
||||
void editorCreated(EditorFactoryEvent event);
|
||||
void editorReleased(EditorFactoryEvent event);
|
||||
|
||||
@@ -31,6 +31,7 @@ import com.intellij.openapi.options.ex.ProjectConfigurablesGroup;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.project.ProjectManager;
|
||||
import com.intellij.openapi.util.SystemInfo;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
@@ -38,6 +39,7 @@ import java.io.File;
|
||||
* @author max
|
||||
*/
|
||||
public class MacOSApplicationProvider implements ApplicationComponent {
|
||||
@NotNull
|
||||
public String getComponentName() {
|
||||
return "MACOSApplicationProvider";
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ import com.intellij.openapi.project.ProjectManager;
|
||||
import com.intellij.openapi.project.ProjectManagerAdapter;
|
||||
import com.intellij.openapi.startup.StartupManager;
|
||||
import com.intellij.openapi.wm.ToolWindowManager;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class TipOfTheDayManager extends ProjectManagerAdapter implements ApplicationComponent {
|
||||
private boolean myDoNotShowThisTime = false;
|
||||
@@ -38,6 +39,7 @@ public class TipOfTheDayManager extends ProjectManagerAdapter implements Applica
|
||||
projectManager.addProjectManagerListener(this);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String getComponentName() {
|
||||
return "TipOfTheDayManager";
|
||||
}
|
||||
|
||||
@@ -282,6 +282,7 @@ public final class TestWindowManager extends WindowManagerEx implements Applicat
|
||||
public void adjustContainerWindow(Component c, Dimension oldSize, Dimension newSize) {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public final String getComponentName() {
|
||||
return "TestWindowManager";
|
||||
}
|
||||
|
||||
@@ -29,6 +29,7 @@ import com.intellij.openapi.vcs.changes.committed.CommittedChangesCache;
|
||||
import com.intellij.openapi.vcs.ex.ProjectLevelVcsManagerEx;
|
||||
import org.jdom.Element;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class RestoreUpdateTree implements ProjectComponent, JDOMExternalizable {
|
||||
private final Project myProject;
|
||||
@@ -63,6 +64,7 @@ public class RestoreUpdateTree implements ProjectComponent, JDOMExternalizable {
|
||||
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String getComponentName() {
|
||||
return "RestoreUpdateTree";
|
||||
}
|
||||
|
||||
@@ -20,6 +20,7 @@ import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.components.ProjectComponent;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.siyeh.ig.telemetry.TelemetryToolWindow;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class InspectionGadgetsProjectComponent implements ProjectComponent{
|
||||
|
||||
@@ -49,6 +50,7 @@ public class InspectionGadgetsProjectComponent implements ProjectComponent{
|
||||
}
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String getComponentName(){
|
||||
return "InspectionGadgetsProjectComponent";
|
||||
}
|
||||
|
||||
@@ -22,6 +22,7 @@ import com.intellij.openapi.util.JDOMExternalizable;
|
||||
import com.intellij.openapi.util.WriteExternalException;
|
||||
import org.jdom.Element;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* author: lesya
|
||||
@@ -48,6 +49,7 @@ public class AbstractConfiguration implements JDOMExternalizable, ProjectCompone
|
||||
public void projectClosed() {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String getComponentName() {
|
||||
return myName;
|
||||
}
|
||||
|
||||
+1
@@ -72,6 +72,7 @@ public class CvsApplicationLevelConfiguration implements ApplicationComponent, J
|
||||
return ServiceManager.getService(CvsApplicationLevelConfiguration.class);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String getComponentName() {
|
||||
return "CvsApplicationLevelConfiguration";
|
||||
}
|
||||
|
||||
@@ -43,6 +43,7 @@ import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.vcs.AbstractVcsHelper;
|
||||
import com.intellij.openapi.vcs.vfs.VcsFileSystem;
|
||||
import com.intellij.openapi.vcs.vfs.VcsVirtualFile;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.netbeans.lib.cvsclient.command.KeywordSubstitution;
|
||||
|
||||
import java.io.File;
|
||||
@@ -108,6 +109,7 @@ public class CvsServicesImpl extends CvsServices implements ApplicationComponent
|
||||
.getScrambledPasswordForCvsRoot(cvsRoot);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String getComponentName() {
|
||||
return "CvsServices";
|
||||
}
|
||||
|
||||
@@ -31,6 +31,7 @@ import com.intellij.openapi.vcs.annotate.AnnotationListener;
|
||||
import org.jdom.Attribute;
|
||||
import org.jdom.DataConversionException;
|
||||
import org.jdom.Element;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.idea.svn.dialogs.SvnAuthenticationProvider;
|
||||
import org.jetbrains.idea.svn.dialogs.SvnInteractiveAuthenticationProvider;
|
||||
import org.jetbrains.idea.svn.update.MergeRootInfo;
|
||||
@@ -359,6 +360,7 @@ public class SvnConfiguration implements ProjectComponent, JDOMExternalizable {
|
||||
public void projectClosed() {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String getComponentName() {
|
||||
return "SvnConfiguration";
|
||||
}
|
||||
|
||||
@@ -36,6 +36,7 @@ import com.intellij.psi.impl.source.tree.FileElement;
|
||||
import com.intellij.psi.tree.IElementType;
|
||||
import com.intellij.psi.xml.*;
|
||||
import com.intellij.util.CharTable;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Collections;
|
||||
|
||||
@@ -219,6 +220,7 @@ public class XmlAspectImpl implements XmlAspect {
|
||||
|
||||
public void disposeComponent() { }
|
||||
|
||||
@NotNull
|
||||
public String getComponentName() {
|
||||
return "XML POM aspect";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user