void () { getSettings().ALIGN_MULTILINE_CHAINED_METHODS = true; doClassTest( """ public String returnWithBuilder2() { return MoreObjects .toStringHelper(this) .add("value", value) // comment .toString(); }""", """ public String returnWithBuilder2() { return MoreObjects .toStringHelper(this) .add("value", value) // comment .toString(); }""" ); }