ModuleLevelBuilder. Source code transformation support
已回答
Hi!
I want to support source code transformation by intellij. What I mean. For example, I have a source code file `Main.java`. During building process, before compiling original file, modified version is generated. Subsequent steps of building process should use modified file, not the original one.
I implemented ModuleLevelBuilder, which takes original files, performs all needed ast transformations and flush modified files to `target` subdirectory. But I can not understand, is there any way to mark original file as no longer needed and that modified version should be used instead?
请先登录再写评论。
Sorry for delay.
Could you please explain what your transformation does and what
> mark original file as no longer needed and that modified version should be used instead
means exactly? no longer needed in what context? delete/hide the file? modified version should be used instead = in what context/use-cases?