public static class CheckerTestUtil.AbstractDiagnosticForTests extends java.lang.Object implements Diagnostic
Constructor and Description |
---|
CheckerTestUtil.AbstractDiagnosticForTests(com.intellij.psi.PsiElement element,
AbstractDiagnosticFactory factory) |
Modifier and Type | Method and Description |
---|---|
AbstractDiagnosticFactory |
getFactory() |
com.intellij.psi.PsiElement |
getPsiElement() |
com.intellij.psi.PsiFile |
getPsiFile() |
Severity |
getSeverity() |
java.util.List<com.intellij.openapi.util.TextRange> |
getTextRanges() |
boolean |
isValid() |
public CheckerTestUtil.AbstractDiagnosticForTests(@NotNull com.intellij.psi.PsiElement element, @NotNull AbstractDiagnosticFactory factory)
@NotNull public AbstractDiagnosticFactory getFactory()
getFactory
in interface Diagnostic
@NotNull public Severity getSeverity()
getSeverity
in interface Diagnostic
@NotNull public com.intellij.psi.PsiElement getPsiElement()
getPsiElement
in interface Diagnostic
@NotNull public java.util.List<com.intellij.openapi.util.TextRange> getTextRanges()
getTextRanges
in interface Diagnostic
@NotNull public com.intellij.psi.PsiFile getPsiFile()
getPsiFile
in interface Diagnostic
public boolean isValid()
isValid
in interface Diagnostic