@Override
    public void visitExpressionStatement(@NotNull PsiExpressionStatement statement) {
      if (statement.getParent() instanceof PsiSwitchLabeledRuleStatement) {
        PsiSwitchBlock block = ((PsiSwitchLabeledRuleStatement)statement.getParent()).getEnclosingSwitchBlock();
        if (block instanceof PsiSwitchExpression) {
          Collections.addAll(myResult, getExpectedTypes((PsiExpression)block, myForCompletion));
          return;
        }
      }
      if (myVoidable) {
        myResult.add(VOID_EXPECTED);
      }
    }
@Override
    public void visitExpressionStatement(@NotNull PsiExpressionStatement statement)