Don't generate task library docs for TF Lite
Don't generate task library docs for TF Lite

This is untested but should remove the Task library docs from the generated Java API reference.

Also fixed a while/walrus statement so that a variable referenced later always exists.
