This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have VariableTree which represents parameter with vararg - "foo(String... a)". How could I check if it is vararg from the VariableTree and how can I add "..." to the parameter type? Now I can obtain only "[]" type modifier, which is correct from the bytecode view, but not from the source code. Missing methods to accomplish this task in Beta 2
Target milestone was changed to "dev" - does it means to be fixed soon? Or perhaps already is fixed?
moving opened issues from TM <= 6.1 to TM=Dev
You can use Trees.getElement().isVarArgs, isn't it?
I am bit out of this issues, but if I correctly remember "getElement" requires a TreePath and, if I am creating TreePath from the Tree which is created in memory, but doesn't exist in file - I will get null TreePath, right? It is not good approach then... Another part of problem is that I can't add "..." to parameter.
Is this issue still blocker for you? If yes, please reopen. Thanks.
Yes, it is blocker, because I haven't workaround for this issue yet.
Overtake.
Changed API of TreeMaker which enables creating of methods with variable arguments length.
Created attachment 81552 [details] Patch file
Created attachment 81634 [details] TreeMaker patch
Integrated into 'main-golden', will be available in build *200905080201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/01896d48c99a User: Rastislav Komara <moonko@netbeans.org> Log: Issue #121444: Missing methods
Seems like this one was actually fixed by Rasta.