mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
javadoc html lint inspection: should have no suppress actions in inspection view as well as in editor (IDEA-173021)
This commit is contained in:
@@ -15,15 +15,16 @@
|
||||
*/
|
||||
package com.intellij.codeInspection.javaDoc
|
||||
|
||||
import com.intellij.codeInspection.CustomSuppressableInspectionTool
|
||||
import com.intellij.codeInspection.LocalInspectionTool
|
||||
import com.intellij.codeInspection.SuppressQuickFix
|
||||
import com.intellij.codeInspection.SuppressIntentionAction
|
||||
import com.intellij.codeInspection.ex.ExternalAnnotatorBatchInspection
|
||||
import com.intellij.psi.PsiElement
|
||||
|
||||
class JavadocHtmlLintInspection : LocalInspectionTool(), ExternalAnnotatorBatchInspection {
|
||||
companion object {
|
||||
class JavadocHtmlLintInspection : LocalInspectionTool(), ExternalAnnotatorBatchInspection, CustomSuppressableInspectionTool {
|
||||
companion object {
|
||||
val SHORT_NAME = "JavadocHtmlLint"
|
||||
}
|
||||
|
||||
override fun getBatchSuppressActions(element: PsiElement?): Array<out SuppressQuickFix> = SuppressQuickFix.EMPTY_ARRAY
|
||||
override fun getSuppressActions(element: PsiElement?): Array<SuppressIntentionAction>? = SuppressIntentionAction.EMPTY_ARRAY
|
||||
}
|
||||
Reference in New Issue
Block a user