org.jetbrains.jet.lang.resolve
Class DiagnosticsWithSuppression

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.DiagnosticsWithSuppression
All Implemented Interfaces:
java.lang.Iterable<Diagnostic>, Diagnostics

public class DiagnosticsWithSuppression
extends java.lang.Object
implements Diagnostics


Field Summary
 
Fields inherited from interface org.jetbrains.jet.lang.resolve.Diagnostics
EMPTY
 
Constructor Summary
DiagnosticsWithSuppression(BindingContext context, java.util.Collection<Diagnostic> diagnostics)
           
 
Method Summary
 java.util.Collection<Diagnostic> all()
           
 java.util.Collection<Diagnostic> forElement(com.intellij.psi.PsiElement psiElement)
           
 boolean isEmpty()
           
static boolean isSuppressedByStrings(Diagnostic diagnostic, java.util.Set<java.lang.String> strings)
           
 java.util.Iterator<Diagnostic> iterator()
           
 Diagnostics noSuppression()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiagnosticsWithSuppression

public DiagnosticsWithSuppression(@NotNull
                                  BindingContext context,
                                  @NotNull
                                  java.util.Collection<Diagnostic> diagnostics)
Method Detail

noSuppression

@NotNull
public Diagnostics noSuppression()
Specified by:
noSuppression in interface Diagnostics

iterator

@NotNull
public java.util.Iterator<Diagnostic> iterator()
Specified by:
iterator in interface java.lang.Iterable<Diagnostic>

all

@NotNull
public java.util.Collection<Diagnostic> all()
Specified by:
all in interface Diagnostics

forElement

@NotNull
public java.util.Collection<Diagnostic> forElement(@NotNull
                                                           com.intellij.psi.PsiElement psiElement)
Specified by:
forElement in interface Diagnostics

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Diagnostics

isSuppressedByStrings

public static boolean isSuppressedByStrings(@NotNull
                                            Diagnostic diagnostic,
                                            @NotNull
                                            java.util.Set<java.lang.String> strings)