ts-java should have a feature similar to java's Static Import.
Rough outline:
- Add a new section to tsjava 'staticimport'.
- It can list expressions like 'com.acme.Foo.*' to import all public static members of com.acme.Foo, or expressions that import a specific static member: 'com.acme.Foo.bar'.
- autoImport can then be used to import these into a particular .ts function:
var bar = autoImport('bar');
bar(1,2)
ts-java should have a feature similar to java's Static Import.
Rough outline: