You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2021/07/01 14:01:50 UTC
[GitHub] [netbeans] sdedic opened a new pull request #3034: Full ClassNode loads in indexer
sdedic opened a new pull request #3034:
URL: https://github.com/apache/netbeans/pull/3034
The groovy parser currently loads only stubs for types, which leads to issues like inability to resolve fields or methods; this was done for performance reasons, but as the ClassNode remain in caches, the crippled data are used during opened editor source parsing and report strange errors, such as a symbol is not an annotation, of that a field / method does not exist etc.
I would somewhat prefer usability over performance, and try to improve performance by further pull request throughout the next release.
As more complete ClassNodes are loaded, richer typeinfo can be used in generic handling code - I needed to fix some tests since the golden files listed methods like `add(T)` even for explicitly bound typeargs, e.g. for `List<String>`.
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] sdedic merged pull request #3034: Full ClassNode loads in indexer
Posted by GitBox <gi...@apache.org>.
sdedic merged pull request #3034:
URL: https://github.com/apache/netbeans/pull/3034
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists