Records the given StringBuilder and its current length, so that computed imports can later be
emitted, and adds any import declarations
that the builder already contains.
Records the given StringBuffer and its current length, so that computed imports can later be
emitted, and adds any import declarations
that the buffer already contains.