At the moment we can add a field to a target class with the java-new-field command (which by the way should be renamed to java-add-field). It generates getters, setters, updates the toString method....
It would be good to have a command to add a constant to a target class (no need to have getters, setter...). So something as simple as :
By default it will be a String. The command will uppercase the name and set it public static final :
We could set a value, change the access type :
Will generate :