mbien commented on issue #7078:
URL: https://github.com/apache/netbeans/issues/7078#issuecomment-1952730925
right I think it is two things we see here:
1) the UI code which builds the "rewrite to" string was wrong (it had
multiple issues). I didn't know that at first and assumed that something was
wrong in jackopt itself, so I tried to fix a problem which wasn't there and
looked at the wrong code
2) there is still likely something wrong with `$mods$` since some rules
don't seem to match when they probably should
regarding 1): taking your example:
```java
"name test":
$mods$ $type $name = new $T();
=>
Object o = $name;
;;
```
NB 21:

https://github.com/apache/netbeans/pull/7075 applied:

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists