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: [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

Reply via email to