How to create PsiAnonymousClass?

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

1 comment
Comment actions Permalink

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.