When saving a java file, the post save actions may trigger the calculation of the AST in the UI thread, which sometimes results in a UI freeze.
Here's an example:
The code that does this is:
|
if (requiresAST(cleanUps)) { |
|
ast= createAst(unit, options, Progress.subMonitor(monitor, 10)); |
|
} |