@Override
    public void visitSwitchExpression(@NotNull PsiSwitchExpression expression) {
      super.visitSwitchExpression(expression);
      if (ControlFlowUtils.isNestedElement(expression, PsiSwitchBlock.class)) {
        registerError(expression.getFirstChild(), expression);
      }
    }
@Override
    public void visitSwitchExpression(@NotNull PsiSwitchExpression expression)