sdedic opened a new pull request #3076:
URL: https://github.com/apache/netbeans/pull/3076


   First commit: the hack made in 
[#3042](https://github.com/apache/netbeans/pull/3042/files#diff-890da1cd8d2dce9fb90de0ac649bf9a371f88aface37ee8dca28fa366b1e2554R134)
 is formalized as [an API in 
`parsing.indexing`](https://github.com/apache/netbeans/compare/master...sdedic:groovy/manage-transformations?expand=1#diff-59871e7c12a8f51236f02db6b30608e72129fb0e9a613531b27612a020447a5aR199).
 Just a simple `boolean` that identifies tasks created by Indexing 
infrastructure. 
   
   I've added layer-based declarative instructions to enable or disable 
transformations for parsing, indexing or both. This declarative format is not 
an API itself, bcs per @JaroslavTulach  suggestion, I have created (and 
documented) 
[`ApplyGroovyTransformation`](https://github.com/apache/netbeans/compare/master...sdedic:groovy/manage-transformations?expand=1#diff-6d7687054187e88addbdc99e7f15688b50777a909cb0c2400501a2df23c05328R52)
 annotation that generates the layer stuff. Still this 'api' is +- development 
quality.
   
   As a part of the changes, I've [disabled Spock 
transformations](https://github.com/apache/netbeans/compare/master...sdedic:groovy/manage-transformations?expand=1#diff-f79a53c73b724a2bd3cae4ddd9b4de40e3693d19ec0d860b2a8941777ae584aaR76)
 which alter AST that make our code completion fail in Spock tests. That does 
not fix all issues, but at least the Spock value-read and invocation wrappers 
are gone from the AST.
   
   


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