ICompilationUnit copy = ICompilationUnit.getWorkingCopy(null);
copy.reconcile(0, false, copy.getOwner(), null);
copy.commit(false, null);
copy.discardWorkingCopy();
Eclipse JDT ASTRewrite修改源码后保存
最新推荐文章于 2021-03-13 14:56:23 发布