public static @NotNull Block newJavaBlock(@NotNull ASTNode child,
                                            @NotNull CommonCodeStyleSettings settings,
                                            @NotNull JavaCodeStyleSettings javaSettings,
                                            @Nullable Indent indent,
                                            @Nullable Wrap wrap,
                                            @NotNull AlignmentStrategy strategy,
                                            @NotNull FormattingMode formattingMode) {
    return new AbstractJavaBlock(child, settings, javaSettings, formattingMode) {
      @Override
      protected List<Block> buildChildren() {
        return null;
      }
    }.createJavaBlock(child, settings, javaSettings, indent, wrap, strategy, formattingMode);
  }
public static @NotNull Block newJavaBlock(@NotNull ASTNode child,
                                            @NotNull CommonCodeStyleSettings settings,
                                            @NotNull JavaCodeStyleSettings javaSettings,
                                            @Nullable Indent indent,
                                            @Nullable Wrap wrap,
                                            @NotNull AlignmentStrategy strategy,
                                            @NotNull FormattingMode formattingMode)