boolean (@NotNull PsiElement e) { ASTNode node = BasicJavaAstTreeUtil.toNode(e); return node != null && BasicJavaAstTreeUtil.is(node.getTreeParent(), BASIC_CODE_BLOCK) && BasicJavaAstTreeUtil.is(node.getTreeParent().getTreeParent(), BASIC_SWITCH_STATEMENT); }