public void emitSortedImports() { importStringBuffer.insert(importInsertionPoint, importManager.computeSortedImports()); }
/** * Inserts all the {@link #computeSortedImports() computed imports} for the compilation unit into the recorded * {@link #markImportLocation(StringBuilder) StringBuilder} or {@link #markImportLocation(StringBuffer) StringBuffer}. * @since 2.5 * @see #computeSortedImports() * @see #markImportLocation(StringBuilder) * @see #markImportLocation(StringBuffer) */ public void emitSortedImports() { if (importStringBuilder != null) { importStringBuilder.insert(importInsertionPoint, computeSortedImports()); } else if (importStringBuffer != null) { importStringBuffer.insert(importInsertionPoint, computeSortedImports()); } }