org.jetbrains.kotlin.checkers
Class CheckerTestUtil.AbstractDiagnosticForTests

java.lang.Object
  extended by org.jetbrains.kotlin.checkers.CheckerTestUtil.AbstractDiagnosticForTests
All Implemented Interfaces:
Diagnostic
Direct Known Subclasses:
CheckerTestUtil.DebugInfoDiagnostic, CheckerTestUtil.SyntaxErrorDiagnostic
Enclosing class:
CheckerTestUtil

public static class CheckerTestUtil.AbstractDiagnosticForTests
extends java.lang.Object
implements Diagnostic


Constructor Summary
CheckerTestUtil.AbstractDiagnosticForTests(com.intellij.psi.PsiElement element, DiagnosticFactory<?> factory)
           
 
Method Summary
 DiagnosticFactory<?> getFactory()
           
 com.intellij.psi.PsiElement getPsiElement()
           
 com.intellij.psi.PsiFile getPsiFile()
           
 Severity getSeverity()
           
 java.util.List<com.intellij.openapi.util.TextRange> getTextRanges()
           
 boolean isValid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckerTestUtil.AbstractDiagnosticForTests

public CheckerTestUtil.AbstractDiagnosticForTests(@NotNull
                                                  com.intellij.psi.PsiElement element,
                                                  @NotNull
                                                  DiagnosticFactory<?> factory)
Method Detail

getFactory

@NotNull
public DiagnosticFactory<?> getFactory()
Specified by:
getFactory in interface Diagnostic

getSeverity

@NotNull
public Severity getSeverity()
Specified by:
getSeverity in interface Diagnostic

getPsiElement

@NotNull
public com.intellij.psi.PsiElement getPsiElement()
Specified by:
getPsiElement in interface Diagnostic

getTextRanges

@NotNull
public java.util.List<com.intellij.openapi.util.TextRange> getTextRanges()
Specified by:
getTextRanges in interface Diagnostic

getPsiFile

@NotNull
public com.intellij.psi.PsiFile getPsiFile()
Specified by:
getPsiFile in interface Diagnostic

isValid

public boolean isValid()
Specified by:
isValid in interface Diagnostic