org.jetbrains.kotlin.diagnostics
Class DiagnosticFactoryWithPsiElement<E extends com.intellij.psi.PsiElement,D extends Diagnostic>

java.lang.Object
  extended by org.jetbrains.kotlin.diagnostics.DiagnosticFactory<D>
      extended by org.jetbrains.kotlin.diagnostics.DiagnosticFactoryWithPsiElement<E,D>
Direct Known Subclasses:
DiagnosticFactory0, DiagnosticFactory1, DiagnosticFactory2, DiagnosticFactory3

public abstract class DiagnosticFactoryWithPsiElement<E extends com.intellij.psi.PsiElement,D extends Diagnostic>
extends DiagnosticFactory<D>


Field Summary
protected   positioningStrategy
           
 
Constructor Summary
DiagnosticFactoryWithPsiElement(Severity severity,  positioningStrategy)
           
 
Method Summary
protected  java.util.List<com.intellij.openapi.util.TextRange> getTextRanges(ParametrizedDiagnostic<E> diagnostic)
           
protected  boolean isValid(ParametrizedDiagnostic<E> diagnostic)
           
 
Methods inherited from class org.jetbrains.kotlin.diagnostics.DiagnosticFactory
cast, cast, cast, getName, getSeverity, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

positioningStrategy

protected final  positioningStrategy
Constructor Detail

DiagnosticFactoryWithPsiElement

public DiagnosticFactoryWithPsiElement(Severity severity,
                                        positioningStrategy)
Method Detail

getTextRanges

protected java.util.List<com.intellij.openapi.util.TextRange> getTextRanges(ParametrizedDiagnostic<E> diagnostic)

isValid

protected boolean isValid(ParametrizedDiagnostic<E> diagnostic)