private @Nullable ASTNode processSwitchExpression(final @NotNull List<? super Block> result,
                                                    ASTNode child,
                                                    WrappingStrategy wrappingStrategy) {
    AlignmentStrategy alignmentStrategy = AlignmentStrategy.wrap(createAlignment(true, null), JavaTokenType.COMMA);
    while (child != null) {
      if (!FormatterUtil.containsWhiteSpacesOnly(child) && child.getTextLength() > 0) {
        result.add(createJavaBlock(child, mySettings, myJavaSettings, Indent.getNoneIndent(),
                                   wrappingStrategy.getWrap(child.getElementType()), alignmentStrategy,
                                   myFormattingMode));
      }
      child = child.getTreeNext();
    }
    return child;
  }
private @Nullable ASTNode processSwitchExpression(final @NotNull List<? super Block> result,
                                                    ASTNode child,
                                                    WrappingStrategy wrappingStrategy)