PsiStatement in v3.0.5

Is there any way to obtain the type (e.g., if, while, ...) of a PsiStatement?

Thanks,
_marc

0
2 comments
Avatar
Permanently deleted user

You can test to see if a PsiElement is an instanceof PsiIfStatement, PsiWhileStatement, etc.

-Dave

0
Avatar
Permanently deleted user

Thanks a lot for your help,
_marc

0

Please sign in to leave a comment.