示例#1
0
 public void report(JCDiagnostic diag) {
   if (!diag.isFlagSet(JCDiagnostic.DiagnosticFlag.NON_DEFERRABLE)
       && (filter == null || filter.accepts(diag))) {
     deferred.add(diag);
   } else {
     prev.report(diag);
   }
 }
示例#2
0
文件: Log.java 项目: karianna/jdk8_tl
 public void report(JCDiagnostic diag) {
   if (filter == null || filter.accepts(diag)) deferred.add(diag);
   else prev.report(diag);
 }