Community
Participate
Working Groups
package pkg; externaltype myET type JavaObject{packageName="etPkg", javaName="etName"} function test(); end Use this in a function: e myET{}; And the generated code is: import pkg.myET; ... myET e = null; e = new myET(); It should be using the qualified name "etPkg.etName" not "pkg.myET".
Logic has been added, however the javaName annotation for functions is not allowed in the language. I have opened a defect against the language and will do the function alias when that has been done. package x; externaltype myET type JavaObject{packageName="etPkg", javaName="etName"} function test(); function alias(){javaName="handler"}; end program c2 e myET{}; function main() e.alias(); i int = 14; end end
Verified