This should be reimplemented using jparser, or using https://cottagesystems.com/JavaJythonConverter/. For that matter the total size of Autoplot could be reduced significantly if the stable/volatile jars were brought back and Autoplot had a built-in update mechanism.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
See also https://sourceforge.net/p/autoplot/bugs/2566/ jython to java wants...
for loops need work. Type declaration should be removed, and "in" instead of ":"
Loops is improved. We really need a java parser to be used.
I started a script which uses a jparser jar to do real Java parsing.
This should be reimplemented using jparser, or using https://cottagesystems.com/JavaJythonConverter/. For that matter the total size of Autoplot could be reduced significantly if the stable/volatile jars were brought back and Autoplot had a built-in update mechanism.