/** * Returns the errors in the file represented by the {@link JavaSource}. * @return an list of {@link Diagnostic} */ public @NonNull List<Diagnostic> getDiagnostics() { checkConfinement(); return this.impl.getDiagnostics(); }
if (fl != null && fl.hasFlowCompleted(fo)) { if (LOGGER.isLoggable(Level.FINER)) { final List<? extends Diagnostic> diag = ci.getDiagnostics(); if (!diag.isEmpty()) { LOGGER.log(Level.FINER, "Reflow with errors: {0} {1}", new Object[]{fo, diag}); //NOI18N