org.jetbrains.kotlin.diagnostics
Class DiagnosticFactory2<E extends com.intellij.psi.PsiElement,A,B>

java.lang.Object
  extended by org.jetbrains.kotlin.diagnostics.DiagnosticFactory<D>
      extended by org.jetbrains.kotlin.diagnostics.DiagnosticFactoryWithPsiElement<E,DiagnosticWithParameters2<E,A,B>>
          extended by org.jetbrains.kotlin.diagnostics.DiagnosticFactory2<E,A,B>

public class DiagnosticFactory2<E extends com.intellij.psi.PsiElement,A,B>
extends DiagnosticFactoryWithPsiElement<E,DiagnosticWithParameters2<E,A,B>>


Field Summary
 
Fields inherited from class org.jetbrains.kotlin.diagnostics.DiagnosticFactoryWithPsiElement
positioningStrategy
 
Method Summary
static
<T extends com.intellij.psi.PsiElement,A,B>
DiagnosticFactory2<T,A,B>
create(Severity severity)
           
static
<T extends com.intellij.psi.PsiElement,A,B>
DiagnosticFactory2<T,A,B>
create(Severity severity,  positioningStrategy)
           
 ParametrizedDiagnostic<E> on(E element, A a, B b)
           
 
Methods inherited from class org.jetbrains.kotlin.diagnostics.DiagnosticFactoryWithPsiElement
getTextRanges, isValid
 
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
 

Method Detail

on

@NotNull
public ParametrizedDiagnostic<E> on(@NotNull
                                            E element,
                                            @NotNull
                                            A a,
                                            @NotNull
                                            B b)

create

public static <T extends com.intellij.psi.PsiElement,A,B> DiagnosticFactory2<T,A,B> create(Severity severity,
                                                                                            positioningStrategy)

create

public static <T extends com.intellij.psi.PsiElement,A,B> DiagnosticFactory2<T,A,B> create(Severity severity)