@@ -1192,9 +1192,17 @@ public void accept(ClassBuilder clb) {
11921192 * import static java.lang.StringConcatHelper.newString;
11931193 * import static java.lang.StringConcatHelper.newArray;
11941194 *
1195- * public static String concat(int arg0, long arg1, boolean arg2, char arg3, String arg4, float arg5, double arg6, Object arg7) {
1196- * String constant0, constant1, ..., constant8;
1197- * int lengthCoder = ...;
1195+ * class StringConcat extends java.lang.StringConcatHelper.StringConcatBase {
1196+ * // super class defines
1197+ * // String[] constants;
1198+ * // int length;
1199+ * // byte coder;
1200+ *
1201+ * StringConcat(String[] constants) {
1202+ * super(constants);
1203+ * }
1204+ * String concat(int arg0, long arg1, boolean arg2, char arg3, String arg4, float arg5, double arg6, Object arg7) {
1205+ * long lengthCoder = this.length + (this.coder << 32L);
11981206 *
11991207 * // String arg
12001208 * arg4 = stringOf(arg4);
@@ -1205,20 +1213,20 @@ public void accept(ClassBuilder clb) {
12051213 * String str7 = stringOf(arg7);
12061214 *
12071215 * lengthCoder = mix(mix(mix(mix(
1208- * mix(mix(mix(mix(engthCoder ,
1216+ * mix(mix(mix(mix(lengthCoder ,
12091217 * str7), str6), str5), arg4),
12101218 * arg3), arg2), arg1), arg0);
12111219 *
1212- * String suffix = constant9 ;
1220+ * String suffix = constant[8] ;
12131221 * lengthCoder -= suffix.length();
12141222 * byte[] buf = newArray(suffix, lengthCoder);
12151223 *
12161224 * lengthCoder = prepend(prepend(prepend(prepend(
12171225 * prepend(prepend(prepend(prepend(lengthCoder,
1218- * buf, str7, constant7 ), buf, str6, constant6 ),
1219- * buf, str5, constant5 ), buf, arg4, constant4 ),
1220- * buf, arg3, constant3 ), buf, arg2, constant2 ),
1221- * buf, arg1, constant1 ), buf, arg0, constant0 );
1226+ * buf, str7, constant[7] ), buf, str6, constant[6] ),
1227+ * buf, str5, constant[5] ), buf, arg4, constant[4] ),
1228+ * buf, arg3, constant[3] ), buf, arg2, constant[2] ),
1229+ * buf, arg1, constant[1] ), buf, arg0, constant[0] );
12221230 *
12231231 * return newArray(buf, lengthCoder);
12241232 * }
0 commit comments