ICompilationUnit copy = ICompilationUnit.getWorkingCopy(null);
copy.reconcile(0, false, copy.getOwner(), null);
copy.commit(false, null);
copy.discardWorkingCopy();ICompilationUnit copy = ICompilationUnit.getWorkingCopy(null);
copy.reconcile(0, false, copy.getOwner(), null);
copy.commit(false, null);
copy.discardWorkingCopy();