org.jetbrains.jet.lang.resolve
Class SimpleDiagnostics

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

public class SimpleDiagnostics
extends java.lang.Object
implements Diagnostics


Field Summary
 
Fields inherited from interface org.jetbrains.jet.lang.resolve.Diagnostics
EMPTY
 
Constructor Summary
SimpleDiagnostics(java.util.Collection<Diagnostic> diagnostics)
           
 
Method Summary
 java.util.Collection<Diagnostic> all()
           
 java.util.Collection<Diagnostic> forElement(com.intellij.psi.PsiElement psiElement)
           
 boolean isEmpty()
           
 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

SimpleDiagnostics

public SimpleDiagnostics(@NotNull
                         java.util.Collection<Diagnostic> diagnostics)
Method Detail

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

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>

isEmpty

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