mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[devkit] IntentionDescriptionNotFoundInspection: cleanup
GitOrigin-RevId: 9da3b0d6f8961d1a08637d6546ad944a4f775cd4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8defc1651c
commit
ee78c14d55
@@ -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.devkit.inspections;
|
||||
|
||||
import com.intellij.openapi.module.Module;
|
||||
import com.intellij.psi.PsiClass;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.idea.devkit.inspections.quickfix.CreateHtmlDescriptionFix;
|
||||
import org.jetbrains.idea.devkit.util.ExtensionCandidate;
|
||||
import org.jetbrains.idea.devkit.util.ExtensionLocatorKt;
|
||||
|
||||
@@ -19,11 +17,6 @@ public class IntentionDescriptionNotFoundInspection extends DescriptionNotFoundI
|
||||
super(DescriptionType.INTENTION);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected CreateHtmlDescriptionFix getFix(Module module, String descriptionDir) {
|
||||
return new CreateHtmlDescriptionFix(descriptionDir, module, DescriptionType.INTENTION);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean skipIfNotRegistered(PsiClass epClass) {
|
||||
final List<ExtensionCandidate> registrations = ExtensionLocatorKt.locateExtensionsByPsiClass(epClass);
|
||||
|
||||
Reference in New Issue
Block a user