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.
In some situations (eg. refactoring) modules need to perform tasks that in fact have multiple phases, which all can (should) run on the same data (sources, AST, parser, etc). Each phase is a separate UserTask, which may produce some results (eg. change diffs) that are then processed outside of The Loop and eventually passed to the next phase, which finishes the whole operation. From performance reasons it is advisable to reuse parser and its data in the subsequent phases (tasks), which is currently not possible. Since this is likely to have impact on the core interfaces in the API we should address this problem prior merging the API to trunk.
> Feature
We have decided to not add any special support for compiler phases to Parsing API. This feature can be managed internally in each Parsing API client. Thats why I am closing this issue.