I am wanting to define my class constructors and write the code I want included when I do code generation. I enter the code in the “Operation Code Details” tab but when I generate the code I just get “throw new UnsupportedOperationException();” as the method body. This is of course the content of the “Operation Template” setting but I don’t want this default code, I want my code.
I am using the Code -> Java Round Trip -> Generate Code option.
Interestingly, if I choose the Code -> Instant Generator -> Java… option and preview the code I see the correct method content. This however creates other problems for me (such as my attributes being prefixed, etc)
Is this a bug I’m seeing? What am I doing wrong? Project is attached…
Yacht Race Management System.vpp