How to create PsiAnonymousClass?

How can I create PsiAnonymousClass or PsiNewExpression which refers to it?
Couldn't find anything in PsiElementFactory :(

0
1 comment
Avatar
Permanently deleted user

Hello Dmitry,

How can I create PsiAnonymousClass or PsiNewExpression which refers to
it? Couldn't find anything in PsiElementFactory :(


You can use createExpressionFromText().

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.