Closed tjaskula closed 5 years ago
Thanks @tjaskula. I should change it to include the fully qualified name everywhere a type is used. That's safer. Will make the changes soon.
For generated code import/using is far more difficult to get right. We should eliminate imports in to generated Java. The IDE will show warnings if the import isn't used, which is an annoying false negative that distracts me.
Fixed by #55
The current implementation generates the code in the form:
but this leads to many conflicts where for example we have a namespace clash with type name like for the type
Vlingo.Wire.Node.Node
. The generated proxyLocalMessage<Node>
obviously doesn't compile if we haveusing Vlingo.Wire.Node
at the beginning of the file.It would be much better and less error prone if instead of relying on
using
directives we just put the full name spaces likeThey are just proxy, so we don't care if this looks bad but at least it will work in every case. Now it's not working for many proxies that I have to fix manually.