move java_import into streaming