javadoc html lint inspection: should have no suppress actions in inspection view as well as in editor (IDEA-173021)

This commit is contained in:
Dmitry Batkovich
2017-05-17 16:44:56 +03:00
parent b4e9f613b6
commit 907e36cce5
@@ -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
}