hallvard
01/29/2019, 11:49 AMMessage, and the correct way to go about it in js is new Message.constructor(), right? But I cannot make it use my overloaded constructors, they never seem to get called. Must I name them with annotations in order to use them? (Like @JsName("MessageFromString") and @JsName("MessageFromMap") or something?)diesieben07
01/29/2019, 3:08 PMval newInstance = ClassName(parameters)diesieben07
01/29/2019, 3:09 PMhallvard
01/29/2019, 3:37 PM@JsName them.hallvard
01/29/2019, 3:38 PMClassName.constructor() syntax that got me wondering for a while ... (giving up on that path proved very rewarding.)diesieben07
01/29/2019, 3:44 PMnew ClassName in JS 🤔hallvard
01/30/2019, 7:31 AMhallvard
01/30/2019, 7:33 AM.constructor() thing in JS is maybe a convention that should be observed ... so, all in all, I succeeded in doing what I wanted, although I do not fully understand why new ClassName() doesn't work, and I am far off to other stuff now.