boolean (PsiElement e) { PsiElement p = e.getParent(); return p instanceof PsiIfStatement || p instanceof PsiLoopStatement || p instanceof PsiTryStatement || p instanceof PsiCatchSection || p instanceof PsiSwitchLabeledRuleStatement; }