java - Create a dummy PsiFile in IntelliJ -


i'm writing plugin intellij idea changes source code through project's psi. in 1 of classes piece of code , in order apply changes on need create dummy psifile contain code, can't seem find way that.

i tried extending psitestcase (although isn't test) doesn't work, because there no initialization of test class.

is there way create such file?


Comments

Popular posts from this blog

php - Displaying JSON data posts for blog using just the post id -

google bigquery - Delta between query execution time and Java query call to finish -

node.js - How to check multiple conditions to be true or false using protractor ,so that it helps in validating input before click -