The rst_parser.py was unintentionally corrupted by normalization. This fix repairs the script and fixes Java API generation.