public void reportDeferredDiagnostics(Set<JCDiagnostic.Kind> kinds){
  JCDiagnostic d;
  while ((d=deferred.poll()) != null) {
    if (kinds.contains(d.getKind()))     prev.report(d);
  }
  deferred=null;
}

public void reportDeferredDiagnostics ( Set < JCDiagnostic . Kind > kinds ) { JCDiagnostic d ; while ( ( d = deferred . poll ( ) ) != null ) { if ( kinds . contains ( d . getKind ( ) ) ) prev . report ( d ) ; } deferred = null ; }
report selected deferred diagnostics .
