org.jetbrains.kotlin.diagnostics
Class AbstractDiagnostic<E extends com.intellij.psi.PsiElement>
java.lang.Object
org.jetbrains.kotlin.diagnostics.AbstractDiagnostic<E>
- All Implemented Interfaces:
- Diagnostic, ParametrizedDiagnostic<E>
- Direct Known Subclasses:
- DiagnosticWithParameters1, DiagnosticWithParameters2, DiagnosticWithParameters3, SimpleDiagnostic
public abstract class AbstractDiagnostic<E extends com.intellij.psi.PsiElement>
- extends java.lang.Object
- implements ParametrizedDiagnostic<E>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDiagnostic
public AbstractDiagnostic(@NotNull
E psiElement,
@NotNull
DiagnosticFactoryWithPsiElement<E,?> factory,
@NotNull
Severity severity)
getFactory
@NotNull
public DiagnosticFactoryWithPsiElement<E,?> getFactory()
- Specified by:
getFactory
in interface Diagnostic
getPsiFile
@NotNull
public com.intellij.psi.PsiFile getPsiFile()
- Specified by:
getPsiFile
in interface Diagnostic
getSeverity
@NotNull
public Severity getSeverity()
- Specified by:
getSeverity
in interface Diagnostic
getPsiElement
@NotNull
public E getPsiElement()
- Specified by:
getPsiElement
in interface Diagnostic
- Specified by:
getPsiElement
in interface ParametrizedDiagnostic<E extends com.intellij.psi.PsiElement>
getTextRanges
@NotNull
public java.util.List<com.intellij.openapi.util.TextRange> getTextRanges()
- Specified by:
getTextRanges
in interface Diagnostic
isValid
public boolean isValid()
- Specified by:
isValid
in interface Diagnostic