public FormattingContext createContext(boolean forbidWrapping, boolean forbidNewLineInSpacing) {
    return new FormattingContext(
      mySettings,
      myAlignmentProvider,
      myGroovySettings,
      myForbidWrapping || forbidWrapping,
      myForbidNewLineInSpacing || forbidNewLineInSpacing,
      myGroovyBlockProducer
    );
  }
public FormattingContext createContext(boolean forbidWrapping, boolean forbidNewLineInSpacing)