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.
When I tried to add local varible with annotation, @ character is doubled.
The first @ character is printed by VeryPretty.printAnnotations() and second is printed by VeryPretty.visitAnnotation(). It seems to me it is enough to remove line which prints @ in printAnnotations. at org.netbeans.jackpot.pretty.VeryPretty.*visitAnnotation*(VeryPretty.java:1484) at com.sun.tools.javac.tree.JCTree$JCAnnotation.accept(JCTree.java:1774) at org.netbeans.jackpot.pretty.VeryPretty.printExpr(VeryPretty.java:286) at org.netbeans.jackpot.pretty.VeryPretty.printNoParenExpr(VeryPretty.java:302) at org.netbeans.jackpot.pretty.VeryPretty.*printAnnotations*(VeryPretty.java:462)
Created attachment 29440 [details] Suggested patch
Applied patch. Thanks for the fix!
Fixed.
v.