[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] ICompilationUnit history

Hi,

When I listen for IJavaElementDeltas my impression is that the 
ICompilationUnit returned is the current version 
(getDelta().getElement().getAncestor(IJavaElement.COMPILATION_UNIT)). I want 
to use AST to get fine-grained changes not in the deltas. Is there are way 
to get the ICompilationUnit as it was before the change so that I can 
compare it with the current using AST nodes and visitor?

Thanks in advance,
Otto