jaxb-codemodel icon indicating copy to clipboard operation
jaxb-codemodel copied to clipboard

Modifiers of variable parameters in JMethod are not emitted

Open glassfishrobot opened this issue 12 years ago • 2 comments

When using a varParam with a final modifier, it is not emitted in the generated code:

final JVar jArgs = m.varParam (Object.class, "aArgs"); jArgs.mods ().setFinal (true);

results in --> (Object... aArgs)

Affected Versions

[2.6]

glassfishrobot avatar Aug 23 '13 14:08 glassfishrobot

Reported by phax

glassfishrobot avatar Aug 23 '13 14:08 glassfishrobot

This issue was imported from java.net JIRA CODEMODEL-21

glassfishrobot avatar Apr 24 '17 07:04 glassfishrobot