Created by: dbluhm
This PR adds automatic importing of DataField types when necessary to classes generated through DataElement. This results in cleaner generated classes (look more like something you'd actually write by hand) and also makes specifying defaults more straightforward (for instance, when the invoking a class that is imported, you can use the string
new MyClass() instead of
$ which collides with java's internal representation of inner classes (i.e.
java.util.Map.Entry can be expressed as
java.util.Map$Entry) which is problematic for parsing out types to import.
Fixes #450 (closed).