mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
cleanup: method is identical to its super method
GitOrigin-RevId: 350ea63057fc436a3bcebed964228c43db8d5923
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b50194db34
commit
965f6c769c
@@ -116,14 +116,6 @@ final class ImageFileEditorImpl extends UserDataHolderBase implements ImageFileE
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void selectNotify() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deselectNotify() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addPropertyChangeListener(@NotNull PropertyChangeListener listener) {
|
||||
myDispatcher.addListener(listener);
|
||||
|
||||
@@ -123,12 +123,6 @@ public class AddModuleWizard extends AbstractProjectWizard {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public WizardContext getWizardContext() {
|
||||
return myWizardContext;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getDimensionServiceKey() {
|
||||
return "NewModule_or_Project.wizard";
|
||||
|
||||
@@ -87,9 +87,4 @@ public class MakeReceiverParameterFirstFix extends LocalQuickFixAndIntentionActi
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean startInWriteAction() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2021 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 com.intellij.codeInspection.dataFlow.types;
|
||||
|
||||
import com.intellij.psi.PsiPrimitiveType;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public final class DfBooleanConstantType extends DfConstantType<Boolean> implements DfBooleanType {
|
||||
@@ -22,12 +21,6 @@ public final class DfBooleanConstantType extends DfConstantType<Boolean> impleme
|
||||
return join(other);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public PsiPrimitiveType getPsiType() {
|
||||
return DfBooleanType.super.getPsiType();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public DfType tryNegate() {
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
package com.intellij.codeInspection.dataFlow.types;
|
||||
|
||||
import com.intellij.codeInspection.dataFlow.value.RelationType;
|
||||
import com.intellij.psi.PsiPrimitiveType;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -55,12 +54,6 @@ public class DfDoubleConstantType extends DfConstantType<Double> implements DfDo
|
||||
return DfDoubleRangeType.fromRelation(relationType, value, value);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public PsiPrimitiveType getPsiType() {
|
||||
return DfDoubleType.super.getPsiType();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public DfType tryNegate() {
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
package com.intellij.codeInspection.dataFlow.types;
|
||||
|
||||
import com.intellij.codeInspection.dataFlow.value.RelationType;
|
||||
import com.intellij.psi.PsiPrimitiveType;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -55,12 +54,6 @@ public class DfFloatConstantType extends DfConstantType<Float> implements DfFloa
|
||||
return DfFloatRangeType.fromRelation(relationType, value, value);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public PsiPrimitiveType getPsiType() {
|
||||
return DfFloatType.super.getPsiType();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public DfType tryNegate() {
|
||||
|
||||
@@ -3,7 +3,6 @@ package com.intellij.codeInspection.dataFlow.types;
|
||||
|
||||
import com.intellij.codeInspection.dataFlow.rangeSet.LongRangeSet;
|
||||
import com.intellij.codeInspection.dataFlow.value.RelationType;
|
||||
import com.intellij.psi.PsiPrimitiveType;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -17,12 +16,6 @@ public class DfIntConstantType extends DfConstantType<Integer> implements DfIntT
|
||||
myWideRange = wideRange;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public PsiPrimitiveType getPsiType() {
|
||||
return DfIntType.super.getPsiType();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSuperType(@NotNull DfType other) {
|
||||
return DfIntType.super.isSuperType(other);
|
||||
|
||||
@@ -3,7 +3,6 @@ package com.intellij.codeInspection.dataFlow.types;
|
||||
|
||||
import com.intellij.codeInspection.dataFlow.rangeSet.LongRangeSet;
|
||||
import com.intellij.codeInspection.dataFlow.value.RelationType;
|
||||
import com.intellij.psi.PsiPrimitiveType;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -33,12 +32,6 @@ public class DfLongConstantType extends DfConstantType<Long> implements DfLongTy
|
||||
return DfLongType.super.meet(other);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public PsiPrimitiveType getPsiType() {
|
||||
return DfLongType.super.getPsiType();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public LongRangeSet getRange() {
|
||||
|
||||
@@ -144,9 +144,4 @@ public class UnimplementInterfaceAction extends BaseElementAtCaretIntentionActio
|
||||
final PsiManager manager = aClass.getManager();
|
||||
return !manager.areElementsEquivalent(otherElement, element) && manager.areElementsEquivalent(otherElement.resolve(), aClass);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean startInWriteAction() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -299,9 +299,4 @@ public class InferNullityAnnotationsAction extends BaseAnalysisAction {
|
||||
myUi.getCheckBox().setSelected(PropertiesComponent.getInstance().getBoolean(ANNOTATE_LOCAL_VARIABLES));
|
||||
return myUi.getPanel();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void canceled() {
|
||||
super.canceled();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,6 +119,7 @@ public class CreateClassAction extends JavaCreateTemplateInPackageAction<PsiClas
|
||||
return createdElement.getLBrace();
|
||||
}
|
||||
|
||||
@SuppressWarnings("RedundantMethodOverride")
|
||||
@Override
|
||||
protected void postProcess(@NotNull PsiClass createdElement, String templateName, Map<String, String> customProperties) {
|
||||
// This override is necessary for plugin compatibility
|
||||
|
||||
@@ -5,7 +5,6 @@ import com.intellij.ide.ui.UISettings;
|
||||
import com.intellij.lang.Language;
|
||||
import com.intellij.openapi.project.DumbService;
|
||||
import com.intellij.openapi.util.NlsSafe;
|
||||
import com.intellij.openapi.util.registry.Registry;
|
||||
import com.intellij.psi.*;
|
||||
import com.intellij.psi.impl.source.PsiClassReferenceType;
|
||||
import com.intellij.psi.util.PsiExpressionTrimRenderer;
|
||||
@@ -15,8 +14,6 @@ import com.intellij.usageView.UsageViewShortNameLocation;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import javax.swing.Icon;
|
||||
|
||||
import static com.intellij.openapi.util.text.StringUtil.*;
|
||||
import static com.intellij.psi.PsiNameHelper.getShortClassName;
|
||||
|
||||
@@ -50,12 +47,6 @@ public class JavaBreadcrumbsInfoProvider implements BreadcrumbsProvider {
|
||||
return suffix != null ? description + suffix : description;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public Icon getElementIcon(@NotNull PsiElement element) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public String getElementTooltip(@NotNull PsiElement e) {
|
||||
|
||||
@@ -42,15 +42,6 @@ public abstract class ClsElementImpl extends PsiElementBase implements PsiCompil
|
||||
return getParent().getManager();
|
||||
}
|
||||
|
||||
@Override
|
||||
public PsiFile getContainingFile() {
|
||||
PsiElement parent = getParent();
|
||||
if (parent == null) {
|
||||
throw new PsiInvalidElementAccessException(this);
|
||||
}
|
||||
return parent.getContainingFile();
|
||||
}
|
||||
|
||||
@Override
|
||||
public final boolean isWritable() {
|
||||
return false;
|
||||
|
||||
@@ -34,11 +34,6 @@ public final class EclipseCompilerTool extends JavaCompilingTool {
|
||||
return JavaCompilers.ECLIPSE_EMBEDDED_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCompilerTreeAPISupported() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull String getDescription() {
|
||||
String version = myVersion;
|
||||
|
||||
@@ -89,11 +89,6 @@ public class ResourceRootDescriptor extends BuildRootDescriptor {
|
||||
return file -> !excludes.isExcluded(file) && myFilterForExcludedPatterns.accept(file);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isGenerated() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ResourceRootDescriptor{target='" + myTarget + '\'' + ", root=" + myRoot + '}';
|
||||
|
||||
@@ -286,11 +286,6 @@ final class UsageRepr {
|
||||
void kindToStream(final PrintStream stream) {
|
||||
stream.println("MetaMethodUsage:");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void toStream(DependencyContext context, PrintStream stream) {
|
||||
super.toStream(context, stream);
|
||||
}
|
||||
}
|
||||
|
||||
public static class ImportStaticMemberUsage extends FMUsage {
|
||||
@@ -312,11 +307,6 @@ final class UsageRepr {
|
||||
void kindToStream(final PrintStream stream) {
|
||||
stream.println("ImportStaticMemberUsage:");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void toStream(DependencyContext context, PrintStream stream) {
|
||||
super.toStream(context, stream);
|
||||
}
|
||||
}
|
||||
|
||||
public static class ClassUsage extends Usage {
|
||||
|
||||
@@ -90,11 +90,6 @@ public final class ModuleBuildTarget extends JVMModuleBuildTarget<JavaSourceRoot
|
||||
return myTargetType.isTests();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCompiledBeforeModuleLevelBuilders() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<BuildTarget<?>> computeDependencies(BuildTargetRegistry targetRegistry, TargetOutputIndex outputIndex) {
|
||||
JpsJavaDependenciesEnumeratorImpl enumerator = (JpsJavaDependenciesEnumeratorImpl)JpsJavaExtensionService.dependencies(myModule).compileOnly();
|
||||
|
||||
@@ -280,12 +280,6 @@ public final class LayoutElementBuildersRegistry {
|
||||
generateModuleSourceInstructions(productionSources, instructionCreator, element);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<? extends BuildTarget<?>> getDependencies(@NotNull JpsProductionModuleSourcePackagingElement element,
|
||||
TargetOutputIndex outputIndex) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
}
|
||||
|
||||
private static class ModuleTestOutputElementBuilder extends LayoutElementBuilderService<JpsTestModuleOutputPackagingElement> {
|
||||
|
||||
@@ -146,11 +146,6 @@ public final class RmiStubsGenerator extends ClassProcessingBuilder {
|
||||
stdErrParser.append(event.getText());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processTerminated(@NotNull ProcessEvent event) {
|
||||
super.processTerminated(event);
|
||||
}
|
||||
});
|
||||
handler.startNotify();
|
||||
handler.waitFor();
|
||||
|
||||
@@ -15,18 +15,10 @@
|
||||
*/
|
||||
package org.jetbrains.jps.model.java;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.jps.model.JpsDummyElement;
|
||||
import org.jetbrains.jps.model.JpsElementFactory;
|
||||
import org.jetbrains.jps.model.ex.JpsElementTypeWithDummyProperties;
|
||||
import org.jetbrains.jps.model.library.JpsLibraryType;
|
||||
|
||||
public class JpsJavaLibraryType extends JpsElementTypeWithDummyProperties implements JpsLibraryType<JpsDummyElement> {
|
||||
public static final JpsJavaLibraryType INSTANCE = new JpsJavaLibraryType();
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public JpsDummyElement createDefaultProperties() {
|
||||
return JpsElementFactory.getInstance().createDummyElement();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,18 +15,10 @@
|
||||
*/
|
||||
package org.jetbrains.jps.model.java;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.jps.model.JpsDummyElement;
|
||||
import org.jetbrains.jps.model.JpsElementFactory;
|
||||
import org.jetbrains.jps.model.ex.JpsElementTypeWithDummyProperties;
|
||||
import org.jetbrains.jps.model.module.JpsModuleType;
|
||||
|
||||
public class JpsJavaModuleType extends JpsElementTypeWithDummyProperties implements JpsModuleType<JpsDummyElement> {
|
||||
public static final JpsJavaModuleType INSTANCE = new JpsJavaModuleType();
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public JpsDummyElement createDefaultProperties() {
|
||||
return JpsElementFactory.getInstance().createDummyElement();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,11 +19,6 @@ public final class UnknownSourceRootType extends JpsElementTypeBase<UnknownSourc
|
||||
return myUnknownTypeId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isForTests() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public UnknownSourceRootTypeProperties<?> createDefaultProperties() {
|
||||
|
||||
@@ -186,7 +186,6 @@ public class JdkVersionDetectorImpl extends JdkVersionDetector {
|
||||
private static class VersionOutputReader extends BaseOutputReader {
|
||||
private static final BaseOutputReader.Options OPTIONS = new BaseOutputReader.Options() {
|
||||
@Override public SleepingPolicy policy() { return SleepingPolicy.BLOCKING; }
|
||||
@Override public boolean splitToLines() { return true; }
|
||||
@Override public boolean sendIncompleteLines() { return false; }
|
||||
@Override public boolean withSeparators() { return false; }
|
||||
};
|
||||
|
||||
@@ -95,11 +95,6 @@ public class JsonLineMover extends LineMover {
|
||||
return Pair.create(upper, lower);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void beforeMove(@NotNull Editor editor, @NotNull MoveInfo info, boolean down) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void afterMove(@NotNull Editor editor, @NotNull PsiFile file, @NotNull MoveInfo info, boolean down) {
|
||||
int diff = (info.toMove.endLine - info.toMove.startLine) - (info.toMove2.endLine - info.toMove2.startLine);
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2018 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 com.jetbrains.jsonSchema.impl.inspections;
|
||||
|
||||
import com.intellij.codeHighlighting.HighlightDisplayLevel;
|
||||
import com.intellij.codeInspection.LocalInspectionTool;
|
||||
import com.intellij.codeInspection.LocalInspectionToolSession;
|
||||
import com.intellij.codeInspection.ProblemsHolder;
|
||||
@@ -21,11 +20,6 @@ import org.jetbrains.annotations.Nullable;
|
||||
import java.util.Collection;
|
||||
|
||||
public abstract class JsonSchemaBasedInspectionBase extends LocalInspectionTool {
|
||||
@NotNull
|
||||
@Override
|
||||
public HighlightDisplayLevel getDefaultLevel() {
|
||||
return HighlightDisplayLevel.WARNING;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
|
||||
@@ -86,16 +86,6 @@ class FilterListCellRenderer extends JComponent implements ListCellRenderer {
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override protected void paintComponent(Graphics g) {
|
||||
super.paintComponent(g);
|
||||
//if (currentCustomChoice != null) {
|
||||
// editor.getLook()
|
||||
// .getCustomChoiceDecorator()
|
||||
// .decorateComponent(currentCustomChoice, editor, isSelected,
|
||||
// this, g);
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -17,6 +17,7 @@ public final class LanguageDocumentation extends LanguageExtension<Documentation
|
||||
/**
|
||||
* This method is left to preserve binary compatibility.
|
||||
*/
|
||||
@SuppressWarnings("RedundantMethodOverride")
|
||||
@Override
|
||||
public DocumentationProvider forLanguage(@NotNull final Language l) {
|
||||
return super.forLanguage(l);
|
||||
|
||||
@@ -30,6 +30,7 @@ public final class LanguageFolding extends LanguageExtension<FoldingBuilder> {
|
||||
/**
|
||||
* This method is left to preserve binary compatibility.
|
||||
*/
|
||||
@SuppressWarnings("RedundantMethodOverride")
|
||||
@Override
|
||||
public FoldingBuilder forLanguage(@NotNull Language l) {
|
||||
return super.forLanguage(l);
|
||||
|
||||
@@ -4,13 +4,4 @@ package com.intellij.openapi.progress.util;
|
||||
import com.intellij.openapi.progress.StandardProgressIndicator;
|
||||
|
||||
public final class StandardProgressIndicatorBase extends AbstractProgressIndicatorBase implements StandardProgressIndicator {
|
||||
@Override
|
||||
public void cancel() {
|
||||
super.cancel();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCanceled() {
|
||||
return super.isCanceled();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,11 +116,6 @@ public final class TodoIndex extends SingleEntryFileBasedIndexExtension<Map<Todo
|
||||
return 12;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean dependsOnFileContent() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public ID<Integer, Map<TodoIndexEntry, Integer>> getName() {
|
||||
|
||||
@@ -293,11 +293,6 @@ public class JBTerminalPanel extends TerminalPanel implements FocusListener, Dis
|
||||
reinitFontAndResize();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void dispose() {
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void processMouseWheelEvent(MouseWheelEvent e) {
|
||||
if (EditorSettingsExternalizable.getInstance().isWheelFontChangeEnabled() && EditorUtil.isChangeFontSize(e)) {
|
||||
|
||||
@@ -455,10 +455,5 @@ public class ConfigurableEP<T extends UnnamedConfigurable> implements PluginAwar
|
||||
protected boolean canCreateElement() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Class<?> getType() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,6 @@ import com.intellij.facet.Facet;
|
||||
import com.intellij.openapi.options.Configurable;
|
||||
import com.intellij.openapi.options.ConfigurationException;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
@@ -28,12 +27,6 @@ public abstract class FacetEditorTab implements Configurable {
|
||||
public void onTabLeaving() {
|
||||
}
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
public JComponent getPreferredFocusedComponent() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Called after user press "OK" or "Apply" in the Project Settings dialog.
|
||||
* @param facet facet
|
||||
|
||||
@@ -79,20 +79,10 @@ public final class NavBarRootPaneExtension extends IdeRootPaneNorthExtension imp
|
||||
public @NotNull JComponent getComponent() {
|
||||
if (myWrapperPanel == null) {
|
||||
myWrapperPanel = new NavBarWrapperPanel(new BorderLayout()) {
|
||||
@Override
|
||||
protected void paintComponent(Graphics g) {
|
||||
super.paintComponent(g);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Insets getInsets() {
|
||||
return NavBarUIManager.getUI().getWrapperPanelInsets(super.getInsets());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addNotify() {
|
||||
super.addNotify();
|
||||
}
|
||||
};
|
||||
|
||||
if (!ExperimentalUI.isNewUI()) {
|
||||
|
||||
@@ -18,6 +18,7 @@ public abstract class BaseConfigurable implements Configurable {
|
||||
}
|
||||
|
||||
// defined here for backward-compatibility
|
||||
@SuppressWarnings("RedundantMethodOverride")
|
||||
@Override
|
||||
public @Nullable JComponent getPreferredFocusedComponent() {
|
||||
return null;
|
||||
|
||||
@@ -148,11 +148,6 @@ public class TreeComboBox extends ComboBoxWithWidePopup {
|
||||
private void setSelected(final boolean selected) {
|
||||
mySelected = selected;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean shouldPaintBackground() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
private static final class TreeModelWrapper extends AbstractListModel implements ComboBoxModel {
|
||||
|
||||
@@ -228,11 +228,6 @@ public class SimpleTree extends Tree implements CellEditorListener {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isFileColorsEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean paintNodes() {
|
||||
return true;
|
||||
@@ -500,9 +495,4 @@ public class SimpleTree extends Tree implements CellEditorListener {
|
||||
}
|
||||
return boxWidth;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateUI() {
|
||||
super.updateUI();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,11 +42,6 @@ public class AsyncProcessIcon extends AnimatedIcon {
|
||||
return new Dimension(myPassiveIcon.getIconWidth(), myPassiveIcon.getIconHeight());
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void paintIcon(Graphics g, Icon icon, int x, int y) {
|
||||
super.paintIcon(g, icon, x, y);
|
||||
}
|
||||
|
||||
public void updateLocation(final JComponent container) {
|
||||
final Rectangle newBounds = calculateBounds(container);
|
||||
if (!newBounds.equals(getBounds())) {
|
||||
|
||||
@@ -5,7 +5,6 @@ import com.intellij.icons.AllIcons;
|
||||
import com.intellij.ide.lightEdit.LightEditCompatible;
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent;
|
||||
import com.intellij.openapi.actionSystem.Presentation;
|
||||
import com.intellij.openapi.fileChooser.FileChooserPanel;
|
||||
import com.intellij.openapi.fileChooser.FileSystemTree;
|
||||
import com.intellij.openapi.fileChooser.ex.FileChooserKeys;
|
||||
import com.intellij.openapi.fileChooser.ex.FileSystemTreeImpl;
|
||||
@@ -17,11 +16,6 @@ import com.intellij.ui.UIBundle;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class NewFileAction extends FileChooserAction implements LightEditCompatible {
|
||||
@Override
|
||||
protected void update(@NotNull FileChooserPanel panel, @NotNull AnActionEvent e) {
|
||||
e.getPresentation().setEnabledAndVisible(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void update(@NotNull FileSystemTree fileSystemTree, @NotNull AnActionEvent e) {
|
||||
Presentation presentation = e.getPresentation();
|
||||
|
||||
@@ -4,7 +4,6 @@ package com.intellij.openapi.fileChooser.actions;
|
||||
import com.intellij.ide.IdeBundle;
|
||||
import com.intellij.ide.lightEdit.LightEditCompatible;
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent;
|
||||
import com.intellij.openapi.fileChooser.FileChooserPanel;
|
||||
import com.intellij.openapi.fileChooser.FileSystemTree;
|
||||
import com.intellij.openapi.fileChooser.ex.FileSystemTreeImpl;
|
||||
import com.intellij.openapi.fileTypes.FileTypeManager;
|
||||
@@ -27,11 +26,6 @@ public class NewFolderAction extends FileChooserAction implements LightEditCompa
|
||||
super(text, description, icon);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void update(@NotNull FileChooserPanel panel, @NotNull AnActionEvent e) {
|
||||
e.getPresentation().setEnabledAndVisible(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void update(@NotNull FileSystemTree fileSystemTree, @NotNull AnActionEvent e) {
|
||||
VirtualFile parent = fileSystemTree.getNewFileParent();
|
||||
|
||||
@@ -210,10 +210,6 @@ public class Mock {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateFilePresentation(@NotNull VirtualFile file) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void unsplitWindow() {
|
||||
|
||||
|
||||
@@ -897,12 +897,6 @@ public final class EditorTestUtil {
|
||||
public int calcHeightInPixels(@NotNull Inlay inlay) {
|
||||
return height == null ? EditorCustomElementRenderer.super.calcHeightInPixels(inlay) : height;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void paint(@NotNull Inlay inlay,
|
||||
@NotNull Graphics g,
|
||||
@NotNull Rectangle targetRegion,
|
||||
@NotNull TextAttributes textAttributes) {}
|
||||
}
|
||||
|
||||
private static class EmptyCustomFoldingRenderer implements CustomFoldRegionRenderer {
|
||||
|
||||
@@ -55,11 +55,6 @@ public final class EmptyFileBasedIndex extends FileBasedIndexEx {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void requestRebuild(@NotNull ID<?, ?> indexId) {
|
||||
super.requestRebuild(indexId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull <K, V> List<V> getValues(@NotNull ID<K, V> indexId, @NotNull K dataKey, @NotNull GlobalSearchScope filter) {
|
||||
return Collections.emptyList();
|
||||
@@ -81,16 +76,6 @@ public final class EmptyFileBasedIndex extends FileBasedIndexEx {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public <K, V> boolean processValues(@NotNull ID<K, V> indexId,
|
||||
@NotNull K dataKey,
|
||||
@Nullable VirtualFile inFile,
|
||||
@NotNull ValueProcessor<? super V> processor,
|
||||
@NotNull GlobalSearchScope filter,
|
||||
@Nullable IdFilter idFilter) {
|
||||
return super.processValues(indexId, dataKey, inFile, processor, filter, idFilter);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <K, V> long getIndexModificationStamp(@NotNull ID<K, V> indexId, @NotNull Project project) {
|
||||
return 0;
|
||||
@@ -153,14 +138,6 @@ public final class EmptyFileBasedIndex extends FileBasedIndexEx {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public <K> boolean processAllKeys(@NotNull ID<K, ?> indexId,
|
||||
@NotNull Processor<? super K> processor,
|
||||
@NotNull GlobalSearchScope scope,
|
||||
@Nullable IdFilter idFilter) {
|
||||
return super.processAllKeys(indexId, processor, scope, idFilter);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull <K, V> Map<K, V> getFileData(@NotNull ID<K, V> id, @NotNull VirtualFile virtualFile, @NotNull Project project) {
|
||||
return Collections.emptyMap();
|
||||
|
||||
@@ -64,21 +64,6 @@ public class VcsFileSystem extends DeprecatedVirtualFileSystem implements NonPhy
|
||||
super.fireContentsChanged(requestor, file, oldModificationStamp);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void fireBeforeFileDeletion(Object requestor, @NotNull VirtualFile file) {
|
||||
super.fireBeforeFileDeletion(requestor, file);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void fireFileDeleted(Object requestor, @NotNull VirtualFile file, @NotNull String fileName, VirtualFile parent) {
|
||||
super.fireFileDeleted(requestor, file, fileName, parent);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void fireBeforeContentsChange(Object requestor, @NotNull VirtualFile file) {
|
||||
super.fireBeforeContentsChange(requestor, file);
|
||||
}
|
||||
|
||||
@Nls
|
||||
public static String getCouldNotImplementMessage() {
|
||||
return VcsBundle.message("exception.text.internal.errror.could.not.implement.method");
|
||||
|
||||
@@ -62,9 +62,4 @@ public class PersistentSetImpl<T> extends PersistentEnumerator<T> implements Per
|
||||
public void flush() {
|
||||
force();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void markCorrupted() {
|
||||
super.markCorrupted();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,6 +83,7 @@ public abstract class XLineBreakpointType<P extends XBreakpointProperties> exten
|
||||
}
|
||||
|
||||
// Preserved for API compatibility
|
||||
@SuppressWarnings("RedundantMethodOverride")
|
||||
@Override
|
||||
public List<? extends AnAction> getAdditionalPopupMenuActions(@NotNull XLineBreakpoint<P> breakpoint, @Nullable XDebugSession currentSession) {
|
||||
return super.getAdditionalPopupMenuActions(breakpoint, currentSession);
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
package com.intellij.xdebugger.impl.inline;
|
||||
|
||||
import com.intellij.icons.AllIcons;
|
||||
import com.intellij.openapi.actionSystem.ActionGroup;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.editor.Editor;
|
||||
import com.intellij.openapi.editor.EditorCustomElementRenderer;
|
||||
@@ -39,7 +38,6 @@ import com.intellij.xdebugger.impl.ui.XValueTextProvider;
|
||||
import com.intellij.xdebugger.impl.ui.tree.nodes.XValueNodeImpl;
|
||||
import com.intellij.xdebugger.ui.DebuggerColors;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
@@ -166,11 +164,6 @@ public final class InlineDebugRenderer implements EditorCustomElementRenderer {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable ActionGroup getContextMenuGroup(@NotNull Inlay inlay) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int calcWidthInPixels(@NotNull Inlay inlay) {
|
||||
int width = getInlayTextWidth(inlay);
|
||||
|
||||
@@ -183,11 +183,5 @@ public class InlineWatchNodeImpl extends WatchNodeImpl implements InlineWatchNod
|
||||
callback.computed(myPosition);
|
||||
return ThreeState.YES;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canNavigateToSource() {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -58,9 +58,4 @@ public class ChangeAnnotationParameterQuickFix extends LocalQuickFixAndIntention
|
||||
new CommentTracker().deleteAndRestoreComments(attribute);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean startInWriteAction() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -296,11 +296,6 @@ public class NewActionDialog extends DialogWrapper implements ActionData {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setValidationDelay(int delay) {
|
||||
super.setValidationDelay(delay);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
protected List<ValidationInfo> doValidateAll() {
|
||||
|
||||
@@ -111,12 +111,6 @@ public class TestDataGroupFileEditor extends UserDataHolderBase implements TextE
|
||||
return myBeforeEditor.isValid() && myAfterEditor.isValid();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void selectNotify() { }
|
||||
|
||||
@Override
|
||||
public void deselectNotify() { }
|
||||
|
||||
@Override
|
||||
public void addPropertyChangeListener(@NotNull PropertyChangeListener listener) { }
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
package org.editorconfig.configmanagement.editor;
|
||||
|
||||
import com.intellij.application.options.CodeStyle;
|
||||
import com.intellij.codeHighlighting.BackgroundEditorHighlighter;
|
||||
import com.intellij.lang.Language;
|
||||
import com.intellij.openapi.editor.Editor;
|
||||
import com.intellij.openapi.editor.EditorFactory;
|
||||
@@ -90,16 +89,6 @@ public class EditorConfigPreviewFileEditor implements FileEditor, CodeStyleSetti
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void selectNotify() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deselectNotify() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addPropertyChangeListener(@NotNull PropertyChangeListener listener) {
|
||||
|
||||
@@ -110,12 +99,6 @@ public class EditorConfigPreviewFileEditor implements FileEditor, CodeStyleSetti
|
||||
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public BackgroundEditorHighlighter getBackgroundHighlighter() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public FileEditorLocation getCurrentLocation() {
|
||||
|
||||
@@ -53,11 +53,6 @@ public class EmojiSearchField extends ExtendableTextField {
|
||||
return emojiPicker.getCurrentSkinToneIcon(hovered);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isIconBeforeText() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getIconGap() {
|
||||
return JBUIScale.scale(6);
|
||||
|
||||
@@ -240,11 +240,6 @@ public class DaemonsUi implements Disposable {
|
||||
myWidth = width;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCellEditable(DaemonState daemonState) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
protected String getDescription(DaemonState daemonState) {
|
||||
|
||||
@@ -94,11 +94,6 @@ public class GradleProjectCompositeSelectorDialog extends DialogWrapper {
|
||||
super.doOKAction();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void doCancelAction() {
|
||||
super.doCancelAction();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void dispose() {
|
||||
super.dispose();
|
||||
|
||||
@@ -87,9 +87,4 @@ public class GrMoveClassToCorrectPlaceFix extends Intention {
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean startInWriteAction() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,9 +62,4 @@ public class ReplaceDelimiterFix extends Intention {
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean startInWriteAction() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,17 +15,6 @@
|
||||
*/
|
||||
package org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.binaryCalculators;
|
||||
|
||||
import com.intellij.psi.PsiType;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.jetbrains.plugins.groovy.lang.psi.api.statements.expressions.GrOperatorExpression;
|
||||
|
||||
public class GrMultiplicativeExpressionTypeCalculator extends GrNumericBinaryExpressionTypeCalculator {
|
||||
public static final GrMultiplicativeExpressionTypeCalculator INSTANCE = new GrMultiplicativeExpressionTypeCalculator();
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
protected PsiType inferNumericType(@NotNull PsiType ltype, @NotNull PsiType rtype, GrOperatorExpression e) {
|
||||
return GrBinaryExpressionUtil.getDefaultNumericResultType(ltype, rtype, e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,9 +3,7 @@
|
||||
package org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.literals;
|
||||
|
||||
import com.intellij.lang.ASTNode;
|
||||
import com.intellij.psi.LiteralTextEscaper;
|
||||
import com.intellij.psi.PsiElement;
|
||||
import com.intellij.psi.PsiLanguageInjectionHost;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.plugins.groovy.lang.lexer.GroovyTokenTypes;
|
||||
import org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor;
|
||||
@@ -69,11 +67,5 @@ public class GrRegexImpl extends GrStringImpl implements GrRegex {
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public LiteralTextEscaper<? extends PsiLanguageInjectionHost> createLiteralTextEscaper() {
|
||||
return new GrLiteralEscaper(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -62,21 +62,6 @@ public class GrEnumConstantInitializerImpl extends GrAnonymousClassDefinitionImp
|
||||
return getEnumConstant().getArgumentList();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isInterface() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAnnotationType() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEnum() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public GrTypeParameterList getTypeParameterList() {
|
||||
return null;
|
||||
|
||||
@@ -156,11 +156,6 @@ public abstract class GrTypeDefinitionImpl extends GrStubElementBase<GrTypeDefin
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void checkDelete() throws IncorrectOperationException {
|
||||
CheckUtil.checkWritable(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void delete() throws IncorrectOperationException {
|
||||
PsiElement parent = getParent();
|
||||
|
||||
@@ -17,11 +17,6 @@ import org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.TypesUt
|
||||
|
||||
public class GrCharConverter extends GrTypeConverter {
|
||||
|
||||
@Override
|
||||
public boolean isApplicableTo(@NotNull Position position) {
|
||||
return position == Position.ASSIGNMENT || position == Position.RETURN_VALUE;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public ConversionResult isConvertible(@NotNull PsiType lType,
|
||||
|
||||
@@ -15,11 +15,6 @@ import static org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.
|
||||
|
||||
public class GrEnumConverter extends GrTypeConverter {
|
||||
|
||||
@Override
|
||||
public boolean isApplicableTo(@NotNull Position position) {
|
||||
return position == Position.ASSIGNMENT || position == Position.RETURN_VALUE;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public ConversionResult isConvertible(@NotNull PsiType targetType,
|
||||
|
||||
@@ -47,8 +47,4 @@ public abstract class GrScopeProcessorWithHints implements PsiScopeProcessor, Na
|
||||
assert myName != null : "don't invoke getName if myName is not declared";
|
||||
return myName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleEvent(@NotNull Event event, @Nullable Object associated) {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -141,21 +141,6 @@ public class GrDynamicPropertyImpl extends LightElement implements GrField {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getText() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void accept(@NotNull PsiElementVisitor visitor) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public PsiElement copy() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public PsiElement getNameIdentifierGroovy() {
|
||||
|
||||
@@ -110,6 +110,7 @@ public final class DependentGroovycRunner {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("RedundantMethodOverride")
|
||||
public void doPhaseOperation(CompilationUnit unit) throws CompilationFailedException {
|
||||
super.doPhaseOperation(unit);
|
||||
}
|
||||
@@ -463,6 +464,7 @@ public final class DependentGroovycRunner {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("RedundantMethodOverride")
|
||||
public void doPhaseOperation(CompilationUnit unit) throws CompilationFailedException {
|
||||
super.doPhaseOperation(unit);
|
||||
}
|
||||
|
||||
@@ -148,6 +148,7 @@ public class GroovyCompilerWrapper {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("RedundantMethodOverride")
|
||||
public void doPhaseOperation(CompilationUnit unit) throws CompilationFailedException {
|
||||
super.doPhaseOperation(unit);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package org.jetbrains.plugins.groovy.config;
|
||||
|
||||
import com.intellij.ide.NewProjectWizardLegacy;
|
||||
import com.intellij.ide.util.projectWizard.JavaModuleBuilder;
|
||||
import com.intellij.ide.util.projectWizard.ModuleWizardStep;
|
||||
import com.intellij.ide.util.projectWizard.SettingsStep;
|
||||
@@ -69,11 +68,6 @@ public final class GroovyAwareModuleBuilder extends JavaModuleBuilder {
|
||||
return ModuleWizardStep.EMPTY_ARRAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAvailable() {
|
||||
return NewProjectWizardLegacy.isAvailable();
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NonNls String getBuilderId() {
|
||||
return "groovy";
|
||||
|
||||
@@ -10,7 +10,6 @@ import com.intellij.openapi.roots.libraries.LibraryType;
|
||||
import com.intellij.openapi.roots.libraries.NewLibraryConfiguration;
|
||||
import com.intellij.openapi.roots.ui.configuration.libraries.CustomLibraryDescription;
|
||||
import com.intellij.openapi.roots.ui.configuration.libraryEditor.LibraryEditor;
|
||||
import com.intellij.openapi.roots.ui.configuration.projectRoot.LibrariesContainer;
|
||||
import com.intellij.openapi.ui.Messages;
|
||||
import com.intellij.openapi.util.SystemInfo;
|
||||
import com.intellij.openapi.util.io.FileUtil;
|
||||
@@ -160,12 +159,6 @@ public class GroovyLibraryDescription extends CustomLibraryDescription {
|
||||
return null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public LibrariesContainer.LibraryLevel getDefaultLevel() {
|
||||
return LibrariesContainer.LibraryLevel.PROJECT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable DownloadableLibraryType getDownloadableLibraryType() {
|
||||
return myLibraryType;
|
||||
|
||||
@@ -53,9 +53,4 @@ public class JavaFxWrapWithDefineIntention extends PsiElementBaseIntentionAction
|
||||
tagFromText.addSubTag(myTag, true);
|
||||
myTag.replace(tagFromText);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean startInWriteAction() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -113,11 +113,6 @@ public class JavaFxBuiltInAttributeDescriptor extends JavaFxPropertyAttributeDes
|
||||
return psiClass.isEnum() ? psiClass : null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isConstant(PsiField field) {
|
||||
return field instanceof PsiEnumConstant;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
protected String validateAttributeValue(@NotNull XmlAttributeValue xmlAttributeValue, @NotNull String value) {
|
||||
|
||||
@@ -83,11 +83,6 @@ public class JavaFxRootTagDescriptor extends JavaFxClassTagDescriptorBase {
|
||||
super(FxmlConstants.TYPE, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasIdType() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEnumerated() {
|
||||
return false;
|
||||
|
||||
@@ -94,11 +94,6 @@ public class JavaFxEditCertificatesDialog extends DialogWrapper {
|
||||
return myPanel.myWholePanel;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void dispose() {
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
protected static class Panel {
|
||||
JRadioButton mySelfSignedRadioButton;
|
||||
JRadioButton mySignedByKeyRadioButton;
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
// Copyright 2000-2018 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 org.jetbrains.plugins.javaFX.packaging.preloader;
|
||||
|
||||
import com.intellij.openapi.compiler.CompileContext;
|
||||
import com.intellij.packaging.artifacts.Artifact;
|
||||
import com.intellij.packaging.artifacts.ArtifactProperties;
|
||||
import com.intellij.packaging.ui.ArtifactEditorContext;
|
||||
import com.intellij.packaging.ui.ArtifactPropertiesEditor;
|
||||
@@ -13,10 +11,6 @@ import org.jetbrains.annotations.Nullable;
|
||||
public class JavaFxPreloaderArtifactProperties extends ArtifactProperties<JavaFxPreloaderArtifactProperties> {
|
||||
|
||||
private String myPreloaderClass;
|
||||
|
||||
@Override
|
||||
public void onBuildFinished(@NotNull final Artifact artifact, @NotNull final CompileContext compileContext) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArtifactPropertiesEditor createEditor(@NotNull ArtifactEditorContext context) {
|
||||
|
||||
@@ -25,9 +25,4 @@ public class KotlinExpressionSurroundDescriptor extends KotlinExpressionSurround
|
||||
public Surrounder[] getSurrounders() {
|
||||
return SURROUNDERS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isExclusive() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -515,12 +515,6 @@ public class KotlinCompilerConfigurableTab implements SearchableConfigurable, Di
|
||||
return "project.kotlinCompiler";
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public Runnable enableSearch(String option) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public JComponent createComponent() {
|
||||
|
||||
@@ -146,11 +146,6 @@ public class MoveKotlinTopLevelDeclarationsDialog extends RefactoringDialog {
|
||||
initializedCheckBoxesState = getCheckboxesState(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void init() {
|
||||
super.init();
|
||||
}
|
||||
|
||||
private final BitSet initializedCheckBoxesState;
|
||||
private BitSet getCheckboxesState(boolean applyDefaults) {
|
||||
|
||||
|
||||
@@ -21,11 +21,6 @@ import java.util.Set;
|
||||
|
||||
public abstract class BaseLombokHandler implements CodeInsightActionHandler {
|
||||
|
||||
@Override
|
||||
public boolean startInWriteAction() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void invoke(@NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file) {
|
||||
if (file.isWritable()) {
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2021 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 org.intellij.plugins.markdown.ui.preview;
|
||||
|
||||
import com.intellij.openapi.actionSystem.ActionGroup;
|
||||
import com.intellij.openapi.actionSystem.ToggleAction;
|
||||
import com.intellij.openapi.actionSystem.ex.ActionUtil;
|
||||
import com.intellij.openapi.editor.Editor;
|
||||
@@ -16,7 +15,6 @@ import com.intellij.openapi.util.Key;
|
||||
import org.intellij.plugins.markdown.MarkdownBundle;
|
||||
import org.intellij.plugins.markdown.settings.MarkdownSettings;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.EventListener;
|
||||
@@ -106,11 +104,6 @@ public class MarkdownEditorWithPreview extends TextEditorWithPreview {
|
||||
return (ToggleAction)Objects.requireNonNull(ActionUtil.getAction("Markdown.Layout.PreviewOnly"));
|
||||
}
|
||||
|
||||
@Override
|
||||
protected @Nullable ActionGroup createLeftToolbarActionGroup() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public interface SplitLayoutListener extends EventListener {
|
||||
void onLayoutChange(Layout oldValue, Layout newValue);
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
package org.intellij.plugins.markdown.ui.preview;
|
||||
|
||||
import com.intellij.CommonBundle;
|
||||
import com.intellij.codeHighlighting.BackgroundEditorHighlighter;
|
||||
import com.intellij.openapi.application.ModalityState;
|
||||
import com.intellij.openapi.editor.Document;
|
||||
import com.intellij.openapi.editor.Editor;
|
||||
@@ -206,20 +205,12 @@ public class MarkdownPreviewFileEditor extends UserDataHolderBase implements Fil
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deselectNotify() { }
|
||||
|
||||
@Override
|
||||
public void addPropertyChangeListener(@NotNull PropertyChangeListener listener) { }
|
||||
|
||||
@Override
|
||||
public void removePropertyChangeListener(@NotNull PropertyChangeListener listener) { }
|
||||
|
||||
@Override
|
||||
public @Nullable BackgroundEditorHighlighter getBackgroundHighlighter() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable FileEditorLocation getCurrentLocation() {
|
||||
return null;
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
// Copyright 2000-2018 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 org.jetbrains.idea.maven.dom.converters;
|
||||
|
||||
import com.intellij.codeInsight.lookup.LookupElement;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.util.xml.ConvertContext;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.jetbrains.idea.maven.indices.MavenIndicesManager;
|
||||
import org.jetbrains.idea.maven.model.MavenArtifact;
|
||||
import org.jetbrains.idea.maven.model.MavenId;
|
||||
@@ -47,12 +45,6 @@ public class MavenArtifactCoordinatesArtifactIdConverter extends MavenArtifactCo
|
||||
return manager.hasLocalArtifactId(id.getGroupId(), id.getArtifactId());
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public LookupElement createLookupElement(String s) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Set<String> doGetVariants(MavenId id, DependencySearchService searchService) {
|
||||
return Collections.emptySet();
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
// Copyright 2000-2018 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 org.jetbrains.idea.maven.dom.converters;
|
||||
|
||||
import com.intellij.codeInsight.lookup.LookupElement;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.util.xml.ConvertContext;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.jetbrains.idea.maven.indices.MavenIndicesManager;
|
||||
import org.jetbrains.idea.maven.model.MavenArtifact;
|
||||
import org.jetbrains.idea.maven.model.MavenId;
|
||||
@@ -51,12 +49,6 @@ public class MavenArtifactCoordinatesGroupIdConverter extends MavenArtifactCoord
|
||||
return Collections.emptySet();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public LookupElement createLookupElement(String s) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<String> getSmartVariants(ConvertContext convertContext) {
|
||||
return Collections.emptySet();
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
// 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 org.jetbrains.idea.maven.dom.inspections;
|
||||
|
||||
import com.intellij.codeHighlighting.HighlightDisplayLevel;
|
||||
import com.intellij.codeInspection.*;
|
||||
import com.intellij.codeInspection.util.IntentionFamilyName;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.psi.PsiElement;
|
||||
@@ -49,12 +47,6 @@ public class MavenPropertyInParentInspection extends XmlSuppressableInspectionTo
|
||||
return "MavenPropertyInParent";
|
||||
}
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public HighlightDisplayLevel getDefaultLevel() {
|
||||
return HighlightDisplayLevel.WARNING;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProblemDescriptor @Nullable [] checkFile(@NotNull PsiFile file, @NotNull InspectionManager manager, boolean isOnTheFly) {
|
||||
if (file instanceof XmlFile && file.isPhysical()) {
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
// 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 org.jetbrains.idea.maven.dom.inspections;
|
||||
|
||||
import com.intellij.codeHighlighting.HighlightDisplayLevel;
|
||||
import com.intellij.codeInspection.*;
|
||||
import com.intellij.codeInspection.util.IntentionFamilyName;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import com.intellij.psi.xml.XmlFile;
|
||||
@@ -34,12 +32,6 @@ public class MavenRedundantGroupIdInspection extends XmlSuppressableInspectionTo
|
||||
return "MavenRedundantGroupId";
|
||||
}
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public HighlightDisplayLevel getDefaultLevel() {
|
||||
return HighlightDisplayLevel.WARNING;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProblemDescriptor @Nullable [] checkFile(@NotNull PsiFile file, @NotNull InspectionManager manager, boolean isOnTheFly) {
|
||||
if (file instanceof XmlFile && file.isPhysical()) {
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package org.jetbrains.idea.maven.dom.refactorings.extract;
|
||||
|
||||
import com.intellij.lang.Language;
|
||||
import com.intellij.openapi.actionSystem.DataContext;
|
||||
import com.intellij.openapi.command.WriteCommandAction;
|
||||
import com.intellij.openapi.editor.Editor;
|
||||
@@ -47,11 +46,6 @@ public class ExtractManagedDependenciesAction extends BaseRefactoringAction {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isAvailableForLanguage(Language language) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected RefactoringActionHandler getHandler(@NotNull DataContext dataContext) {
|
||||
return new MyRefactoringActionHandler();
|
||||
|
||||
@@ -5,7 +5,6 @@ import com.intellij.find.FindManager;
|
||||
import com.intellij.find.FindModel;
|
||||
import com.intellij.find.impl.FindInProjectUtil;
|
||||
import com.intellij.find.replaceInProject.ReplaceInProjectManager;
|
||||
import com.intellij.lang.Language;
|
||||
import com.intellij.openapi.actionSystem.DataContext;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.command.WriteCommandAction;
|
||||
@@ -59,11 +58,6 @@ public class IntroducePropertyAction extends BaseRefactoringAction {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isAvailableForLanguage(Language language) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected RefactoringActionHandler getHandler(@NotNull DataContext dataContext) {
|
||||
return new MyRefactoringActionHandler();
|
||||
|
||||
@@ -74,9 +74,4 @@ public abstract class MavenRunnerConfigurable extends MavenRunnerPanel implement
|
||||
//noinspection ConstantConditions
|
||||
return getHelpTopic();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void disposeUIResources() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,10 +67,6 @@ public class MavenIgnoredFilesConfigurable implements SearchableConfigurable, Co
|
||||
return myMainPanel;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void disposeUIResources() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isModified() {
|
||||
return !MavenUtil.equalAsSets(myOriginallyIgnoredFilesPaths, myIgnoredFilesPathsChooser.getMarkedElements()) ||
|
||||
|
||||
@@ -76,11 +76,6 @@ public class MavenTestRunningConfigurable implements SearchableConfigurable, Con
|
||||
return !projectSettings.equals(uiSettings);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void disposeUIResources() {
|
||||
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public String getId() {
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
// Copyright 2000-2019 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 org.jetbrains.idea.maven.wizards;
|
||||
|
||||
import com.intellij.ide.util.projectWizard.ModuleWizardStep;
|
||||
import com.intellij.ide.util.projectWizard.WizardContext;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.projectImport.ProjectImportBuilder;
|
||||
@@ -18,11 +16,6 @@ public final class MavenProjectImportProvider extends ProjectImportProvider {
|
||||
return ProjectImportBuilder.EXTENSIONS_POINT_NAME.findExtensionOrFail(MavenProjectBuilder.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ModuleWizardStep[] createSteps(final WizardContext wizardContext) {
|
||||
return ModuleWizardStep.EMPTY_ARRAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canImport(@NotNull VirtualFile fileOrDirectory, @Nullable Project project) {
|
||||
if (super.canImport(fileOrDirectory, project)) return true;
|
||||
|
||||
@@ -742,11 +742,6 @@ public final class ResourceBundleEditor extends UserDataHolderBase implements Do
|
||||
return !myDisposed && !myProject.isDisposed();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void selectNotify() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deselectNotify() {
|
||||
final StatusBar statusBar = WindowManager.getInstance().getStatusBar(myProject);
|
||||
|
||||
@@ -93,11 +93,6 @@ public class ShMarkdownRunner implements MarkdownRunner {
|
||||
public boolean splitToLines() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean withSeparators() {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
@@ -16,11 +16,6 @@ abstract class ShLiteralMixin extends ShSimpleCommandElementImpl implements ShLi
|
||||
super(node);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable PsiElement getNameIdentifier() {
|
||||
return null;
|
||||
|
||||
@@ -91,11 +91,6 @@ class ShRenameDialog extends RefactoringDialog {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void createDefaultActions() {
|
||||
super.createDefaultActions();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
private String getNewName() {
|
||||
return myNameSuggestionsField.getEnteredName().trim();
|
||||
|
||||
@@ -91,11 +91,6 @@ final class ShRunConfigurationProfileState implements RunProfileState {
|
||||
public boolean splitToLines() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean withSeparators() {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
@@ -28,10 +28,6 @@ public final class WorkingCopiesContent implements ChangesViewContentProvider {
|
||||
return new CopiesPanel(myProject);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void disposeContent() {
|
||||
}
|
||||
|
||||
public static void show(@NotNull Project project) {
|
||||
final ToolWindowManager manager = ToolWindowManager.getInstance(project);
|
||||
if (manager != null) {
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package org.jetbrains.plugins.terminal.vfs;
|
||||
|
||||
import com.intellij.codeHighlighting.BackgroundEditorHighlighter;
|
||||
import com.intellij.openapi.Disposable;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
@@ -71,23 +70,12 @@ public final class TerminalSessionEditor extends UserDataHolderBase implements F
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void selectNotify() { }
|
||||
|
||||
@Override
|
||||
public void deselectNotify() { }
|
||||
|
||||
@Override
|
||||
public void addPropertyChangeListener(@NotNull PropertyChangeListener listener) { }
|
||||
|
||||
@Override
|
||||
public void removePropertyChangeListener(@NotNull PropertyChangeListener listener) { }
|
||||
|
||||
@Override
|
||||
public @Nullable BackgroundEditorHighlighter getBackgroundHighlighter() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable FileEditorLocation getCurrentLocation() {
|
||||
return null;
|
||||
|
||||
@@ -33,12 +33,6 @@ public class TextMateParserDefinition implements ParserDefinition {
|
||||
return FILE_ELEMENT_TYPE;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public TokenSet getWhitespaceTokens() {
|
||||
return TokenSet.WHITE_SPACE;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public TokenSet getCommentTokens() {
|
||||
|
||||
@@ -6,14 +6,12 @@ import com.intellij.formatting.FormattingContext;
|
||||
import com.intellij.formatting.FormattingModel;
|
||||
import com.intellij.formatting.FormattingModelBuilder;
|
||||
import com.intellij.lang.ASTNode;
|
||||
import com.intellij.openapi.util.TextRange;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import com.intellij.psi.codeStyle.CodeStyleSettings;
|
||||
import com.intellij.psi.formatter.DocumentBasedFormattingModel;
|
||||
import com.intellij.psi.tree.IElementType;
|
||||
import com.intellij.psi.util.PsiUtilCore;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.jetbrains.yaml.YAMLElementTypes;
|
||||
import org.jetbrains.yaml.psi.impl.YAMLBlockScalarImpl;
|
||||
|
||||
@@ -26,12 +24,6 @@ public class YAMLFormattingModelBuilder implements FormattingModelBuilder {
|
||||
return new DocumentBasedFormattingModel(rootBlock, settings, file);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public TextRange getRangeAffectingIndent(PsiFile file, int offset, ASTNode elementAtOffset) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static Block createBlock(@NotNull YAMLFormattingContext context,
|
||||
@NotNull ASTNode node) {
|
||||
|
||||
@@ -226,11 +226,6 @@ public class YAMLKeyValueImpl extends YAMLPsiElementImpl implements YAMLKeyValue
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull PsiElement getNavigationElement() {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable TextRange getNameIdentifierRange() {
|
||||
PsiElement key = getKey();
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user