view src/clojure/lang/RestFn.java @ 10:ef7dbbd6452c

added clojure source goodness
author Robert McIntyre <rlm@mit.edu>
date Sat, 21 Aug 2010 06:25:44 -0400
parents
children
line wrap: on
line source
1 /**
2 * Copyright (c) Rich Hickey. All rights reserved.
3 * The use and distribution terms for this software are covered by the
4 * Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
5 * which can be found in the file epl-v10.html at the root of this distribution.
6 * By using this software in any fashion, you are agreeing to be bound by
7 * the terms of this license.
8 * You must not remove this notice, or any other, from this software.
9 **/
10 package clojure.lang;
12 public abstract class RestFn extends AFunction{
14 abstract public int getRequiredArity();
16 protected Object doInvoke(Object args) throws Exception{
17 return null;
18 }
20 protected Object doInvoke(Object arg1, Object args) throws Exception{
21 return null;
22 }
24 protected Object doInvoke(Object arg1, Object arg2, Object args) throws Exception{
25 return null;
26 }
28 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object args) throws Exception{
29 return null;
30 }
32 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object arg4, Object args) throws Exception{
33 return null;
34 }
36 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object args)
37 throws Exception{
38 return null;
39 }
41 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object args)
42 throws Exception{
43 return null;
44 }
46 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
47 Object args) throws Exception{
48 return null;
49 }
51 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
52 Object arg8, Object args) throws Exception{
53 return null;
54 }
56 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
57 Object arg8, Object arg9, Object args) throws Exception{
58 return null;
59 }
61 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
62 Object arg8, Object arg9, Object arg10, Object args) throws Exception{
63 return null;
64 }
66 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
67 Object arg8, Object arg9, Object arg10, Object arg11, Object args) throws Exception{
68 return null;
69 }
71 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
72 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object args)
73 throws Exception{
74 return null;
75 }
77 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
78 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13, Object args)
79 throws Exception{
80 return null;
81 }
83 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
84 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13,
85 Object arg14, Object args) throws Exception{
86 return null;
87 }
89 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
90 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13,
91 Object arg14, Object arg15, Object args) throws Exception{
92 return null;
93 }
95 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
96 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13,
97 Object arg14, Object arg15, Object arg16, Object args) throws Exception{
98 return null;
99 }
101 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
102 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13,
103 Object arg14, Object arg15, Object arg16, Object arg17, Object args) throws Exception{
104 return null;
105 }
107 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
108 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13,
109 Object arg14, Object arg15, Object arg16, Object arg17, Object arg18, Object args)
110 throws Exception{
111 return null;
112 }
114 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
115 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13,
116 Object arg14, Object arg15, Object arg16, Object arg17, Object arg18, Object arg19,
117 Object args)
118 throws Exception{
119 return null;
120 }
122 protected Object doInvoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
123 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13,
124 Object arg14, Object arg15, Object arg16, Object arg17, Object arg18, Object arg19,
125 Object arg20, Object args) throws Exception{
126 return null;
127 }
130 public Object applyTo(ISeq args) throws Exception{
131 if(RT.boundedLength(args, getRequiredArity()) <= getRequiredArity())
132 {
133 return AFn.applyToHelper(this, Util.ret1(args,args = null));
134 }
135 switch(getRequiredArity())
136 {
137 case 0:
138 return doInvoke(Util.ret1(args,args = null));
139 case 1:
140 return doInvoke(args.first()
141 , Util.ret1(args.next(),args=null));
142 case 2:
143 return doInvoke(args.first()
144 , (args = args.next()).first()
145 , Util.ret1(args.next(),args=null));
146 case 3:
147 return doInvoke(args.first()
148 , (args = args.next()).first()
149 , (args = args.next()).first()
150 , Util.ret1(args.next(),args=null));
151 case 4:
152 return doInvoke(args.first()
153 , (args = args.next()).first()
154 , (args = args.next()).first()
155 , (args = args.next()).first()
156 , Util.ret1(args.next(),args=null));
157 case 5:
158 return doInvoke(args.first()
159 , (args = args.next()).first()
160 , (args = args.next()).first()
161 , (args = args.next()).first()
162 , (args = args.next()).first()
163 , Util.ret1(args.next(),args=null));
164 case 6:
165 return doInvoke(args.first()
166 , (args = args.next()).first()
167 , (args = args.next()).first()
168 , (args = args.next()).first()
169 , (args = args.next()).first()
170 , (args = args.next()).first()
171 , Util.ret1(args.next(),args=null));
172 case 7:
173 return doInvoke(args.first()
174 , (args = args.next()).first()
175 , (args = args.next()).first()
176 , (args = args.next()).first()
177 , (args = args.next()).first()
178 , (args = args.next()).first()
179 , (args = args.next()).first()
180 , Util.ret1(args.next(),args=null));
181 case 8:
182 return doInvoke(args.first()
183 , (args = args.next()).first()
184 , (args = args.next()).first()
185 , (args = args.next()).first()
186 , (args = args.next()).first()
187 , (args = args.next()).first()
188 , (args = args.next()).first()
189 , (args = args.next()).first()
190 , Util.ret1(args.next(),args=null));
191 case 9:
192 return doInvoke(args.first()
193 , (args = args.next()).first()
194 , (args = args.next()).first()
195 , (args = args.next()).first()
196 , (args = args.next()).first()
197 , (args = args.next()).first()
198 , (args = args.next()).first()
199 , (args = args.next()).first()
200 , (args = args.next()).first()
201 , Util.ret1(args.next(),args=null));
202 case 10:
203 return doInvoke(args.first()
204 , (args = args.next()).first()
205 , (args = args.next()).first()
206 , (args = args.next()).first()
207 , (args = args.next()).first()
208 , (args = args.next()).first()
209 , (args = args.next()).first()
210 , (args = args.next()).first()
211 , (args = args.next()).first()
212 , (args = args.next()).first()
213 , Util.ret1(args.next(),args=null));
214 case 11:
215 return doInvoke(args.first()
216 , (args = args.next()).first()
217 , (args = args.next()).first()
218 , (args = args.next()).first()
219 , (args = args.next()).first()
220 , (args = args.next()).first()
221 , (args = args.next()).first()
222 , (args = args.next()).first()
223 , (args = args.next()).first()
224 , (args = args.next()).first()
225 , (args = args.next()).first()
226 , Util.ret1(args.next(),args=null));
227 case 12:
228 return doInvoke(args.first()
229 , (args = args.next()).first()
230 , (args = args.next()).first()
231 , (args = args.next()).first()
232 , (args = args.next()).first()
233 , (args = args.next()).first()
234 , (args = args.next()).first()
235 , (args = args.next()).first()
236 , (args = args.next()).first()
237 , (args = args.next()).first()
238 , (args = args.next()).first()
239 , (args = args.next()).first()
240 , Util.ret1(args.next(),args=null));
241 case 13:
242 return doInvoke(args.first()
243 , (args = args.next()).first()
244 , (args = args.next()).first()
245 , (args = args.next()).first()
246 , (args = args.next()).first()
247 , (args = args.next()).first()
248 , (args = args.next()).first()
249 , (args = args.next()).first()
250 , (args = args.next()).first()
251 , (args = args.next()).first()
252 , (args = args.next()).first()
253 , (args = args.next()).first()
254 , (args = args.next()).first()
255 , Util.ret1(args.next(),args=null));
256 case 14:
257 return doInvoke(args.first()
258 , (args = args.next()).first()
259 , (args = args.next()).first()
260 , (args = args.next()).first()
261 , (args = args.next()).first()
262 , (args = args.next()).first()
263 , (args = args.next()).first()
264 , (args = args.next()).first()
265 , (args = args.next()).first()
266 , (args = args.next()).first()
267 , (args = args.next()).first()
268 , (args = args.next()).first()
269 , (args = args.next()).first()
270 , (args = args.next()).first()
271 , Util.ret1(args.next(),args=null));
272 case 15:
273 return doInvoke(args.first()
274 , (args = args.next()).first()
275 , (args = args.next()).first()
276 , (args = args.next()).first()
277 , (args = args.next()).first()
278 , (args = args.next()).first()
279 , (args = args.next()).first()
280 , (args = args.next()).first()
281 , (args = args.next()).first()
282 , (args = args.next()).first()
283 , (args = args.next()).first()
284 , (args = args.next()).first()
285 , (args = args.next()).first()
286 , (args = args.next()).first()
287 , (args = args.next()).first()
288 , Util.ret1(args.next(),args=null));
289 case 16:
290 return doInvoke(args.first()
291 , (args = args.next()).first()
292 , (args = args.next()).first()
293 , (args = args.next()).first()
294 , (args = args.next()).first()
295 , (args = args.next()).first()
296 , (args = args.next()).first()
297 , (args = args.next()).first()
298 , (args = args.next()).first()
299 , (args = args.next()).first()
300 , (args = args.next()).first()
301 , (args = args.next()).first()
302 , (args = args.next()).first()
303 , (args = args.next()).first()
304 , (args = args.next()).first()
305 , (args = args.next()).first()
306 , Util.ret1(args.next(),args=null));
307 case 17:
308 return doInvoke(args.first()
309 , (args = args.next()).first()
310 , (args = args.next()).first()
311 , (args = args.next()).first()
312 , (args = args.next()).first()
313 , (args = args.next()).first()
314 , (args = args.next()).first()
315 , (args = args.next()).first()
316 , (args = args.next()).first()
317 , (args = args.next()).first()
318 , (args = args.next()).first()
319 , (args = args.next()).first()
320 , (args = args.next()).first()
321 , (args = args.next()).first()
322 , (args = args.next()).first()
323 , (args = args.next()).first()
324 , (args = args.next()).first()
325 , Util.ret1(args.next(),args=null));
326 case 18:
327 return doInvoke(args.first()
328 , (args = args.next()).first()
329 , (args = args.next()).first()
330 , (args = args.next()).first()
331 , (args = args.next()).first()
332 , (args = args.next()).first()
333 , (args = args.next()).first()
334 , (args = args.next()).first()
335 , (args = args.next()).first()
336 , (args = args.next()).first()
337 , (args = args.next()).first()
338 , (args = args.next()).first()
339 , (args = args.next()).first()
340 , (args = args.next()).first()
341 , (args = args.next()).first()
342 , (args = args.next()).first()
343 , (args = args.next()).first()
344 , (args = args.next()).first()
345 , Util.ret1(args.next(),args=null));
346 case 19:
347 return doInvoke(args.first()
348 , (args = args.next()).first()
349 , (args = args.next()).first()
350 , (args = args.next()).first()
351 , (args = args.next()).first()
352 , (args = args.next()).first()
353 , (args = args.next()).first()
354 , (args = args.next()).first()
355 , (args = args.next()).first()
356 , (args = args.next()).first()
357 , (args = args.next()).first()
358 , (args = args.next()).first()
359 , (args = args.next()).first()
360 , (args = args.next()).first()
361 , (args = args.next()).first()
362 , (args = args.next()).first()
363 , (args = args.next()).first()
364 , (args = args.next()).first()
365 , (args = args.next()).first()
366 , Util.ret1(args.next(),args=null));
367 case 20:
368 return doInvoke(args.first()
369 , (args = args.next()).first()
370 , (args = args.next()).first()
371 , (args = args.next()).first()
372 , (args = args.next()).first()
373 , (args = args.next()).first()
374 , (args = args.next()).first()
375 , (args = args.next()).first()
376 , (args = args.next()).first()
377 , (args = args.next()).first()
378 , (args = args.next()).first()
379 , (args = args.next()).first()
380 , (args = args.next()).first()
381 , (args = args.next()).first()
382 , (args = args.next()).first()
383 , (args = args.next()).first()
384 , (args = args.next()).first()
385 , (args = args.next()).first()
386 , (args = args.next()).first()
387 , (args = args.next()).first()
388 , Util.ret1(args.next(),args=null));
390 }
391 return throwArity(-1);
392 }
394 public Object invoke() throws Exception{
395 switch(getRequiredArity())
396 {
397 case 0:
398 return doInvoke(null);
399 default:
400 return throwArity(0);
401 }
403 }
405 public Object invoke(Object arg1) throws Exception{
406 switch(getRequiredArity())
407 {
408 case 0:
409 return doInvoke(ArraySeq.create(Util.ret1(arg1, arg1 = null)));
410 case 1:
411 return doInvoke(Util.ret1(arg1, arg1 = null), null);
412 default:
413 return throwArity(1);
414 }
416 }
418 public Object invoke(Object arg1, Object arg2) throws Exception{
419 switch(getRequiredArity())
420 {
421 case 0:
422 return doInvoke(ArraySeq.create(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null)));
423 case 1:
424 return doInvoke(Util.ret1(arg1, arg1 = null), ArraySeq.create(Util.ret1(arg2, arg2 = null)));
425 case 2:
426 return doInvoke(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null), null);
427 default:
428 return throwArity(2);
429 }
431 }
433 public Object invoke(Object arg1, Object arg2, Object arg3) throws Exception{
434 switch(getRequiredArity())
435 {
436 case 0:
437 return doInvoke(ArraySeq.create(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null),
438 Util.ret1(arg3, arg3 = null)));
439 case 1:
440 return doInvoke(Util.ret1(arg1, arg1 = null),
441 ArraySeq.create(Util.ret1(arg2, arg2 = null), Util.ret1(arg3, arg3 = null)));
442 case 2:
443 return doInvoke(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null),
444 ArraySeq.create(Util.ret1(arg3, arg3 = null)));
445 case 3:
446 return doInvoke(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null), Util.ret1(arg3, arg3 = null),
447 null);
448 default:
449 return throwArity(3);
450 }
452 }
454 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4) throws Exception{
455 switch(getRequiredArity())
456 {
457 case 0:
458 return doInvoke(ArraySeq.create(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null),
459 Util.ret1(arg3, arg3 = null), Util.ret1(arg4, arg4 = null)));
460 case 1:
461 return doInvoke(Util.ret1(arg1, arg1 = null),
462 ArraySeq.create(Util.ret1(arg2, arg2 = null), Util.ret1(arg3, arg3 = null),
463 Util.ret1(arg4, arg4 = null)));
464 case 2:
465 return doInvoke(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null),
466 ArraySeq.create(Util.ret1(arg3, arg3 = null), Util.ret1(arg4, arg4 = null)));
467 case 3:
468 return doInvoke(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null), Util.ret1(arg3, arg3 = null),
469 ArraySeq.create(Util.ret1(arg4, arg4 = null)));
470 case 4:
471 return doInvoke(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null), Util.ret1(arg3, arg3 = null),
472 Util.ret1(arg4, arg4 = null), null);
473 default:
474 return throwArity(4);
475 }
477 }
479 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5) throws Exception{
480 switch(getRequiredArity())
481 {
482 case 0:
483 return doInvoke(ArraySeq.create(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null),
484 Util.ret1(arg3, arg3 = null), Util.ret1(arg4, arg4 = null),
485 Util.ret1(arg5, arg5 = null)));
486 case 1:
487 return doInvoke(Util.ret1(arg1, arg1 = null),
488 ArraySeq.create(Util.ret1(arg2, arg2 = null), Util.ret1(arg3, arg3 = null),
489 Util.ret1(arg4, arg4 = null), Util.ret1(arg5, arg5 = null)));
490 case 2:
491 return doInvoke(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null),
492 ArraySeq.create(Util.ret1(arg3, arg3 = null), Util.ret1(arg4, arg4 = null),
493 Util.ret1(arg5, arg5 = null)));
494 case 3:
495 return doInvoke(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null), Util.ret1(arg3, arg3 = null),
496 ArraySeq.create(Util.ret1(arg4, arg4 = null), Util.ret1(arg5, arg5 = null)));
497 case 4:
498 return doInvoke(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null), Util.ret1(arg3, arg3 = null),
499 Util.ret1(arg4, arg4 = null), ArraySeq.create(Util.ret1(arg5, arg5 = null)));
500 case 5:
501 return doInvoke(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null), Util.ret1(arg3, arg3 = null),
502 Util.ret1(arg4, arg4 = null), Util.ret1(arg5, arg5 = null), null);
503 default:
504 return throwArity(5);
505 }
507 }
509 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6) throws Exception{
510 switch(getRequiredArity())
511 {
512 case 0:
513 return doInvoke(ArraySeq.create(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null),
514 Util.ret1(arg3, arg3 = null), Util.ret1(arg4, arg4 = null),
515 Util.ret1(arg5, arg5 = null), Util.ret1(arg6, arg6 = null)));
516 case 1:
517 return doInvoke(Util.ret1(arg1, arg1 = null),
518 ArraySeq.create(Util.ret1(arg2, arg2 = null), Util.ret1(arg3, arg3 = null),
519 Util.ret1(arg4, arg4 = null), Util.ret1(arg5, arg5 = null),
520 Util.ret1(arg6, arg6 = null)));
521 case 2:
522 return doInvoke(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null),
523 ArraySeq.create(Util.ret1(arg3, arg3 = null), Util.ret1(arg4, arg4 = null),
524 Util.ret1(arg5, arg5 = null), Util.ret1(arg6, arg6 = null)));
525 case 3:
526 return doInvoke(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null), Util.ret1(arg3, arg3 = null),
527 ArraySeq.create(Util.ret1(arg4, arg4 = null), Util.ret1(arg5, arg5 = null),
528 Util.ret1(arg6, arg6 = null)));
529 case 4:
530 return doInvoke(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null), Util.ret1(arg3, arg3 = null),
531 Util.ret1(arg4, arg4 = null),
532 ArraySeq.create(Util.ret1(arg5, arg5 = null), Util.ret1(arg6, arg6 = null)));
533 case 5:
534 return doInvoke(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null), Util.ret1(arg3, arg3 = null),
535 Util.ret1(arg4, arg4 = null), Util.ret1(arg5, arg5 = null),
536 ArraySeq.create(Util.ret1(arg6, arg6 = null)));
537 case 6:
538 return doInvoke(Util.ret1(arg1, arg1 = null), Util.ret1(arg2, arg2 = null), Util.ret1(arg3, arg3 = null),
539 Util.ret1(arg4, arg4 = null), Util.ret1(arg5, arg5 = null), Util.ret1(arg6, arg6 = null),
540 null);
541 default:
542 return throwArity(6);
543 }
545 }
547 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7)
548 throws Exception{
549 switch(getRequiredArity())
550 {
551 case 0:
552 return doInvoke(ArraySeq.create(arg1, arg2, arg3, arg4, arg5, arg6, arg7));
553 case 1:
554 return doInvoke(arg1, ArraySeq.create(arg2, arg3, arg4, arg5, arg6, arg7));
555 case 2:
556 return doInvoke(arg1, arg2, ArraySeq.create(arg3, arg4, arg5, arg6, arg7));
557 case 3:
558 return doInvoke(arg1, arg2, arg3, ArraySeq.create(arg4, arg5, arg6, arg7));
559 case 4:
560 return doInvoke(arg1, arg2, arg3, arg4, ArraySeq.create(arg5, arg6, arg7));
561 case 5:
562 return doInvoke(arg1, arg2, arg3, arg4, arg5, ArraySeq.create(arg6, arg7));
563 case 6:
564 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, ArraySeq.create(arg7));
565 case 7:
566 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, null);
567 default:
568 return throwArity(7);
569 }
571 }
573 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
574 Object arg8) throws Exception{
575 switch(getRequiredArity())
576 {
577 case 0:
578 return doInvoke(ArraySeq.create(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8));
579 case 1:
580 return doInvoke(arg1, ArraySeq.create(arg2, arg3, arg4, arg5, arg6, arg7, arg8));
581 case 2:
582 return doInvoke(arg1, arg2, ArraySeq.create(arg3, arg4, arg5, arg6, arg7, arg8));
583 case 3:
584 return doInvoke(arg1, arg2, arg3, ArraySeq.create(arg4, arg5, arg6, arg7, arg8));
585 case 4:
586 return doInvoke(arg1, arg2, arg3, arg4, ArraySeq.create(arg5, arg6, arg7, arg8));
587 case 5:
588 return doInvoke(arg1, arg2, arg3, arg4, arg5, ArraySeq.create(arg6, arg7, arg8));
589 case 6:
590 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, ArraySeq.create(arg7, arg8));
591 case 7:
592 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, ArraySeq.create(arg8));
593 case 8:
594 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, null);
595 default:
596 return throwArity(8);
597 }
599 }
601 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
602 Object arg8, Object arg9) throws Exception{
603 switch(getRequiredArity())
604 {
605 case 0:
606 return doInvoke(ArraySeq.create(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9));
607 case 1:
608 return doInvoke(arg1, ArraySeq.create(arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9));
609 case 2:
610 return doInvoke(arg1, arg2, ArraySeq.create(arg3, arg4, arg5, arg6, arg7, arg8, arg9));
611 case 3:
612 return doInvoke(arg1, arg2, arg3, ArraySeq.create(arg4, arg5, arg6, arg7, arg8, arg9));
613 case 4:
614 return doInvoke(arg1, arg2, arg3, arg4, ArraySeq.create(arg5, arg6, arg7, arg8, arg9));
615 case 5:
616 return doInvoke(arg1, arg2, arg3, arg4, arg5, ArraySeq.create(arg6, arg7, arg8, arg9));
617 case 6:
618 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, ArraySeq.create(arg7, arg8, arg9));
619 case 7:
620 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, ArraySeq.create(arg8, arg9));
621 case 8:
622 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, ArraySeq.create(arg9));
623 case 9:
624 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, null);
625 default:
626 return throwArity(9);
627 }
629 }
631 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
632 Object arg8, Object arg9, Object arg10) throws Exception{
633 switch(getRequiredArity())
634 {
635 case 0:
636 return doInvoke(ArraySeq.create(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10));
637 case 1:
638 return doInvoke(arg1, ArraySeq.create(arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10));
639 case 2:
640 return doInvoke(arg1, arg2, ArraySeq.create(arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10));
641 case 3:
642 return doInvoke(arg1, arg2, arg3, ArraySeq.create(arg4, arg5, arg6, arg7, arg8, arg9, arg10));
643 case 4:
644 return doInvoke(arg1, arg2, arg3, arg4, ArraySeq.create(arg5, arg6, arg7, arg8, arg9, arg10));
645 case 5:
646 return doInvoke(arg1, arg2, arg3, arg4, arg5, ArraySeq.create(arg6, arg7, arg8, arg9, arg10));
647 case 6:
648 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, ArraySeq.create(arg7, arg8, arg9, arg10));
649 case 7:
650 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, ArraySeq.create(arg8, arg9, arg10));
651 case 8:
652 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, ArraySeq.create(arg9, arg10));
653 case 9:
654 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, ArraySeq.create(arg10));
655 case 10:
656 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, null);
657 default:
658 return throwArity(10);
659 }
661 }
663 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
664 Object arg8, Object arg9, Object arg10, Object arg11) throws Exception{
665 switch(getRequiredArity())
666 {
667 case 0:
668 return doInvoke(ArraySeq.create(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11));
669 case 1:
670 return doInvoke(arg1, ArraySeq.create(arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11));
671 case 2:
672 return doInvoke(arg1, arg2, ArraySeq.create(arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11));
673 case 3:
674 return doInvoke(arg1, arg2, arg3, ArraySeq.create(arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11));
675 case 4:
676 return doInvoke(arg1, arg2, arg3, arg4, ArraySeq.create(arg5, arg6, arg7, arg8, arg9, arg10, arg11));
677 case 5:
678 return doInvoke(arg1, arg2, arg3, arg4, arg5, ArraySeq.create(arg6, arg7, arg8, arg9, arg10, arg11));
679 case 6:
680 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, ArraySeq.create(arg7, arg8, arg9, arg10, arg11));
681 case 7:
682 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, ArraySeq.create(arg8, arg9, arg10, arg11));
683 case 8:
684 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, ArraySeq.create(arg9, arg10, arg11));
685 case 9:
686 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, ArraySeq.create(arg10, arg11));
687 case 10:
688 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, ArraySeq.create(arg11));
689 case 11:
690 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, null);
691 default:
692 return throwArity(11);
693 }
695 }
697 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
698 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12) throws Exception{
699 switch(getRequiredArity())
700 {
701 case 0:
702 return doInvoke(ArraySeq.create(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12));
703 case 1:
704 return doInvoke(arg1, ArraySeq.create(arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12));
705 case 2:
706 return doInvoke(arg1, arg2, ArraySeq.create(arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12));
707 case 3:
708 return doInvoke(arg1, arg2, arg3, ArraySeq.create(arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12));
709 case 4:
710 return doInvoke(arg1, arg2, arg3, arg4, ArraySeq.create(arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12));
711 case 5:
712 return doInvoke(arg1, arg2, arg3, arg4, arg5, ArraySeq.create(arg6, arg7, arg8, arg9, arg10, arg11, arg12));
713 case 6:
714 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, ArraySeq.create(arg7, arg8, arg9, arg10, arg11, arg12));
715 case 7:
716 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, ArraySeq.create(arg8, arg9, arg10, arg11, arg12));
717 case 8:
718 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, ArraySeq.create(arg9, arg10, arg11, arg12));
719 case 9:
720 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, ArraySeq.create(arg10, arg11, arg12));
721 case 10:
722 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, ArraySeq.create(arg11, arg12));
723 case 11:
724 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, ArraySeq.create(arg12));
725 case 12:
726 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, null);
727 default:
728 return throwArity(12);
729 }
731 }
733 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
734 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13)
735 throws Exception{
736 switch(getRequiredArity())
737 {
738 case 0:
739 return doInvoke(
740 ArraySeq.create(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13));
741 case 1:
742 return doInvoke(arg1, ArraySeq.create(arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
743 arg13));
744 case 2:
745 return doInvoke(arg1, arg2,
746 ArraySeq.create(arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13));
747 case 3:
748 return doInvoke(arg1, arg2, arg3,
749 ArraySeq.create(arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13));
750 case 4:
751 return doInvoke(arg1, arg2, arg3, arg4,
752 ArraySeq.create(arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13));
753 case 5:
754 return doInvoke(arg1, arg2, arg3, arg4, arg5,
755 ArraySeq.create(arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13));
756 case 6:
757 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6,
758 ArraySeq.create(arg7, arg8, arg9, arg10, arg11, arg12, arg13));
759 case 7:
760 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7,
761 ArraySeq.create(arg8, arg9, arg10, arg11, arg12, arg13));
762 case 8:
763 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8,
764 ArraySeq.create(arg9, arg10, arg11, arg12, arg13));
765 case 9:
766 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9,
767 ArraySeq.create(arg10, arg11, arg12, arg13));
768 case 10:
769 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10,
770 ArraySeq.create(arg11, arg12, arg13));
771 case 11:
772 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11,
773 ArraySeq.create(arg12, arg13));
774 case 12:
775 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
776 ArraySeq.create(arg13));
777 case 13:
778 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, null);
779 default:
780 return throwArity(13);
781 }
783 }
785 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
786 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13, Object arg14)
787 throws Exception{
788 switch(getRequiredArity())
789 {
790 case 0:
791 return doInvoke(ArraySeq.create(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
792 arg13, arg14));
793 case 1:
794 return doInvoke(arg1, ArraySeq.create(arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
795 arg13, arg14));
796 case 2:
797 return doInvoke(arg1, arg2, ArraySeq.create(arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
798 arg13, arg14));
799 case 3:
800 return doInvoke(arg1, arg2, arg3,
801 ArraySeq.create(arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14));
802 case 4:
803 return doInvoke(arg1, arg2, arg3, arg4,
804 ArraySeq.create(arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14));
805 case 5:
806 return doInvoke(arg1, arg2, arg3, arg4, arg5,
807 ArraySeq.create(arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14));
808 case 6:
809 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6,
810 ArraySeq.create(arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14));
811 case 7:
812 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7,
813 ArraySeq.create(arg8, arg9, arg10, arg11, arg12, arg13, arg14));
814 case 8:
815 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8,
816 ArraySeq.create(arg9, arg10, arg11, arg12, arg13, arg14));
817 case 9:
818 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9,
819 ArraySeq.create(arg10, arg11, arg12, arg13, arg14));
820 case 10:
821 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10,
822 ArraySeq.create(arg11, arg12, arg13, arg14));
823 case 11:
824 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11,
825 ArraySeq.create(arg12, arg13, arg14));
826 case 12:
827 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
828 ArraySeq.create(arg13, arg14));
829 case 13:
830 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13,
831 ArraySeq.create(arg14));
832 case 14:
833 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
834 null);
835 default:
836 return throwArity(14);
837 }
839 }
841 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
842 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13, Object arg14,
843 Object arg15) throws Exception{
844 switch(getRequiredArity())
845 {
846 case 0:
847 return doInvoke(ArraySeq.create(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
848 arg13, arg14, arg15));
849 case 1:
850 return doInvoke(arg1, ArraySeq.create(arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
851 arg13, arg14, arg15));
852 case 2:
853 return doInvoke(arg1, arg2, ArraySeq.create(arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
854 arg13, arg14, arg15));
855 case 3:
856 return doInvoke(arg1, arg2, arg3, ArraySeq.create(arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
857 arg13, arg14, arg15));
858 case 4:
859 return doInvoke(arg1, arg2, arg3, arg4,
860 ArraySeq.create(arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15));
861 case 5:
862 return doInvoke(arg1, arg2, arg3, arg4, arg5,
863 ArraySeq.create(arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15));
864 case 6:
865 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6,
866 ArraySeq.create(arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15));
867 case 7:
868 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7,
869 ArraySeq.create(arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15));
870 case 8:
871 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8,
872 ArraySeq.create(arg9, arg10, arg11, arg12, arg13, arg14, arg15));
873 case 9:
874 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9,
875 ArraySeq.create(arg10, arg11, arg12, arg13, arg14, arg15));
876 case 10:
877 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10,
878 ArraySeq.create(arg11, arg12, arg13, arg14, arg15));
879 case 11:
880 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11,
881 ArraySeq.create(arg12, arg13, arg14, arg15));
882 case 12:
883 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
884 ArraySeq.create(arg13, arg14, arg15));
885 case 13:
886 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13,
887 ArraySeq.create(arg14, arg15));
888 case 14:
889 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
890 ArraySeq.create(arg15));
891 case 15:
892 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
893 arg15, null);
894 default:
895 return throwArity(15);
896 }
898 }
900 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
901 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13, Object arg14,
902 Object arg15, Object arg16) throws Exception{
903 switch(getRequiredArity())
904 {
905 case 0:
906 return doInvoke(ArraySeq.create(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
907 arg13, arg14, arg15, arg16));
908 case 1:
909 return doInvoke(arg1, ArraySeq.create(arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
910 arg13, arg14, arg15, arg16));
911 case 2:
912 return doInvoke(arg1, arg2, ArraySeq.create(arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
913 arg13, arg14, arg15, arg16));
914 case 3:
915 return doInvoke(arg1, arg2, arg3, ArraySeq.create(arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
916 arg13, arg14, arg15, arg16));
917 case 4:
918 return doInvoke(arg1, arg2, arg3, arg4, ArraySeq.create(arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
919 arg13, arg14, arg15, arg16));
920 case 5:
921 return doInvoke(arg1, arg2, arg3, arg4, arg5,
922 ArraySeq.create(arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16));
923 case 6:
924 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6,
925 ArraySeq.create(arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16));
926 case 7:
927 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7,
928 ArraySeq.create(arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16));
929 case 8:
930 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8,
931 ArraySeq.create(arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16));
932 case 9:
933 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9,
934 ArraySeq.create(arg10, arg11, arg12, arg13, arg14, arg15, arg16));
935 case 10:
936 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10,
937 ArraySeq.create(arg11, arg12, arg13, arg14, arg15, arg16));
938 case 11:
939 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11,
940 ArraySeq.create(arg12, arg13, arg14, arg15, arg16));
941 case 12:
942 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
943 ArraySeq.create(arg13, arg14, arg15, arg16));
944 case 13:
945 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13,
946 ArraySeq.create(arg14, arg15, arg16));
947 case 14:
948 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
949 ArraySeq.create(arg15, arg16));
950 case 15:
951 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
952 arg15, ArraySeq.create(arg16));
953 case 16:
954 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
955 arg15, arg16, null);
956 default:
957 return throwArity(16);
958 }
960 }
962 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
963 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13, Object arg14,
964 Object arg15, Object arg16, Object arg17) throws Exception{
965 switch(getRequiredArity())
966 {
967 case 0:
968 return doInvoke(ArraySeq.create(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
969 arg13, arg14, arg15, arg16, arg17));
970 case 1:
971 return doInvoke(arg1, ArraySeq.create(arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
972 arg13, arg14, arg15, arg16, arg17));
973 case 2:
974 return doInvoke(arg1, arg2, ArraySeq.create(arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
975 arg13, arg14, arg15, arg16, arg17));
976 case 3:
977 return doInvoke(arg1, arg2, arg3, ArraySeq.create(arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
978 arg13, arg14, arg15, arg16, arg17));
979 case 4:
980 return doInvoke(arg1, arg2, arg3, arg4, ArraySeq.create(arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
981 arg13, arg14, arg15, arg16, arg17));
982 case 5:
983 return doInvoke(arg1, arg2, arg3, arg4, arg5, ArraySeq.create(arg6, arg7, arg8, arg9, arg10, arg11, arg12,
984 arg13, arg14, arg15, arg16, arg17));
985 case 6:
986 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6,
987 ArraySeq.create(arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17));
988 case 7:
989 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7,
990 ArraySeq.create(arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17));
991 case 8:
992 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8,
993 ArraySeq.create(arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17));
994 case 9:
995 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9,
996 ArraySeq.create(arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17));
997 case 10:
998 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10,
999 ArraySeq.create(arg11, arg12, arg13, arg14, arg15, arg16, arg17));
1000 case 11:
1001 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11,
1002 ArraySeq.create(arg12, arg13, arg14, arg15, arg16, arg17));
1003 case 12:
1004 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1005 ArraySeq.create(arg13, arg14, arg15, arg16, arg17));
1006 case 13:
1007 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13,
1008 ArraySeq.create(arg14, arg15, arg16, arg17));
1009 case 14:
1010 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1011 ArraySeq.create(arg15, arg16, arg17));
1012 case 15:
1013 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1014 arg15, ArraySeq.create(arg16, arg17));
1015 case 16:
1016 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1017 arg15, arg16, ArraySeq.create(arg17));
1018 case 17:
1019 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1020 arg15, arg16, arg17, null);
1021 default:
1022 return throwArity(17);
1027 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
1028 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13, Object arg14,
1029 Object arg15, Object arg16, Object arg17, Object arg18) throws Exception{
1030 switch(getRequiredArity())
1032 case 0:
1033 return doInvoke(ArraySeq.create(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1034 arg13, arg14, arg15, arg16, arg17, arg18));
1035 case 1:
1036 return doInvoke(arg1, ArraySeq.create(arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1037 arg13, arg14, arg15, arg16, arg17, arg18));
1038 case 2:
1039 return doInvoke(arg1, arg2, ArraySeq.create(arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1040 arg13, arg14, arg15, arg16, arg17, arg18));
1041 case 3:
1042 return doInvoke(arg1, arg2, arg3, ArraySeq.create(arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1043 arg13, arg14, arg15, arg16, arg17, arg18));
1044 case 4:
1045 return doInvoke(arg1, arg2, arg3, arg4, ArraySeq.create(arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1046 arg13, arg14, arg15, arg16, arg17, arg18));
1047 case 5:
1048 return doInvoke(arg1, arg2, arg3, arg4, arg5, ArraySeq.create(arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1049 arg13, arg14, arg15, arg16, arg17, arg18));
1050 case 6:
1051 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, ArraySeq.create(arg7, arg8, arg9, arg10, arg11, arg12,
1052 arg13, arg14, arg15, arg16, arg17,
1053 arg18));
1054 case 7:
1055 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7,
1056 ArraySeq.create(arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18));
1057 case 8:
1058 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8,
1059 ArraySeq.create(arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18));
1060 case 9:
1061 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9,
1062 ArraySeq.create(arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18));
1063 case 10:
1064 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10,
1065 ArraySeq.create(arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18));
1066 case 11:
1067 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11,
1068 ArraySeq.create(arg12, arg13, arg14, arg15, arg16, arg17, arg18));
1069 case 12:
1070 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1071 ArraySeq.create(arg13, arg14, arg15, arg16, arg17, arg18));
1072 case 13:
1073 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13,
1074 ArraySeq.create(arg14, arg15, arg16, arg17, arg18));
1075 case 14:
1076 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1077 ArraySeq.create(arg15, arg16, arg17, arg18));
1078 case 15:
1079 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1080 arg15, ArraySeq.create(arg16, arg17, arg18));
1081 case 16:
1082 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1083 arg15, arg16, ArraySeq.create(arg17, arg18));
1084 case 17:
1085 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1086 arg15, arg16, arg17, ArraySeq.create(arg18));
1087 case 18:
1088 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1089 arg15, arg16, arg17, arg18, null);
1090 default:
1091 return throwArity(18);
1096 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
1097 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13, Object arg14,
1098 Object arg15, Object arg16, Object arg17, Object arg18, Object arg19) throws Exception{
1099 switch(getRequiredArity())
1101 case 0:
1102 return doInvoke(ArraySeq.create(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1103 arg13, arg14, arg15, arg16, arg17, arg18, arg19));
1104 case 1:
1105 return doInvoke(arg1, ArraySeq.create(arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1106 arg13, arg14, arg15, arg16, arg17, arg18, arg19));
1107 case 2:
1108 return doInvoke(arg1, arg2, ArraySeq.create(arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1109 arg13, arg14, arg15, arg16, arg17, arg18, arg19));
1110 case 3:
1111 return doInvoke(arg1, arg2, arg3, ArraySeq.create(arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1112 arg13, arg14, arg15, arg16, arg17, arg18, arg19));
1113 case 4:
1114 return doInvoke(arg1, arg2, arg3, arg4, ArraySeq.create(arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1115 arg13, arg14, arg15, arg16, arg17, arg18, arg19));
1116 case 5:
1117 return doInvoke(arg1, arg2, arg3, arg4, arg5, ArraySeq.create(arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1118 arg13, arg14, arg15, arg16, arg17, arg18,
1119 arg19));
1120 case 6:
1121 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, ArraySeq.create(arg7, arg8, arg9, arg10, arg11, arg12,
1122 arg13, arg14, arg15, arg16, arg17,
1123 arg18, arg19));
1124 case 7:
1125 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, ArraySeq.create(arg8, arg9, arg10, arg11, arg12,
1126 arg13, arg14, arg15, arg16, arg17,
1127 arg18, arg19));
1128 case 8:
1129 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, ArraySeq.create(arg9, arg10, arg11, arg12,
1130 arg13, arg14, arg15, arg16,
1131 arg17, arg18, arg19));
1132 case 9:
1133 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9,
1134 ArraySeq.create(arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19));
1135 case 10:
1136 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10,
1137 ArraySeq.create(arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19));
1138 case 11:
1139 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11,
1140 ArraySeq.create(arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19));
1141 case 12:
1142 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1143 ArraySeq.create(arg13, arg14, arg15, arg16, arg17, arg18, arg19));
1144 case 13:
1145 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13,
1146 ArraySeq.create(arg14, arg15, arg16, arg17, arg18, arg19));
1147 case 14:
1148 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1149 ArraySeq.create(arg15, arg16, arg17, arg18, arg19));
1150 case 15:
1151 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1152 arg15, ArraySeq.create(arg16, arg17, arg18, arg19));
1153 case 16:
1154 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1155 arg15, arg16, ArraySeq.create(arg17, arg18, arg19));
1156 case 17:
1157 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1158 arg15, arg16, arg17, ArraySeq.create(arg18, arg19));
1159 case 18:
1160 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1161 arg15, arg16, arg17, arg18, ArraySeq.create(arg19));
1162 case 19:
1163 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1164 arg15, arg16, arg17, arg18, arg19, null);
1165 default:
1166 return throwArity(19);
1171 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
1172 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13, Object arg14,
1173 Object arg15, Object arg16, Object arg17, Object arg18, Object arg19, Object arg20)
1174 throws Exception{
1175 switch(getRequiredArity())
1177 case 0:
1178 return doInvoke(ArraySeq.create(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1179 arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20));
1180 case 1:
1181 return doInvoke(arg1, ArraySeq.create(arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1182 arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20));
1183 case 2:
1184 return doInvoke(arg1, arg2, ArraySeq.create(arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1185 arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20));
1186 case 3:
1187 return doInvoke(arg1, arg2, arg3, ArraySeq.create(arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1188 arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20));
1189 case 4:
1190 return doInvoke(arg1, arg2, arg3, arg4, ArraySeq.create(arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1191 arg13, arg14, arg15, arg16, arg17, arg18, arg19,
1192 arg20));
1193 case 5:
1194 return doInvoke(arg1, arg2, arg3, arg4, arg5, ArraySeq.create(arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1195 arg13, arg14, arg15, arg16, arg17, arg18,
1196 arg19, arg20));
1197 case 6:
1198 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, ArraySeq.create(arg7, arg8, arg9, arg10, arg11, arg12,
1199 arg13, arg14, arg15, arg16, arg17,
1200 arg18, arg19, arg20));
1201 case 7:
1202 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, ArraySeq.create(arg8, arg9, arg10, arg11, arg12,
1203 arg13, arg14, arg15, arg16, arg17,
1204 arg18, arg19, arg20));
1205 case 8:
1206 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, ArraySeq.create(arg9, arg10, arg11, arg12,
1207 arg13, arg14, arg15, arg16,
1208 arg17, arg18, arg19,
1209 arg20));
1210 case 9:
1211 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, ArraySeq.create(arg10, arg11, arg12,
1212 arg13, arg14, arg15,
1213 arg16, arg17, arg18,
1214 arg19, arg20));
1215 case 10:
1216 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10,
1217 ArraySeq.create(arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20));
1218 case 11:
1219 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11,
1220 ArraySeq.create(arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20));
1221 case 12:
1222 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1223 ArraySeq.create(arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20));
1224 case 13:
1225 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13,
1226 ArraySeq.create(arg14, arg15, arg16, arg17, arg18, arg19, arg20));
1227 case 14:
1228 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1229 ArraySeq.create(arg15, arg16, arg17, arg18, arg19, arg20));
1230 case 15:
1231 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1232 arg15, ArraySeq.create(arg16, arg17, arg18, arg19, arg20));
1233 case 16:
1234 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1235 arg15, arg16, ArraySeq.create(arg17, arg18, arg19, arg20));
1236 case 17:
1237 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1238 arg15, arg16, arg17, ArraySeq.create(arg18, arg19, arg20));
1239 case 18:
1240 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1241 arg15, arg16, arg17, arg18, ArraySeq.create(arg19, arg20));
1242 case 19:
1243 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1244 arg15, arg16, arg17, arg18, arg19, ArraySeq.create(arg20));
1245 case 20:
1246 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1247 arg15, arg16, arg17, arg18, arg19, arg20, null);
1248 default:
1249 return throwArity(20);
1254 public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7,
1255 Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13, Object arg14,
1256 Object arg15, Object arg16, Object arg17, Object arg18, Object arg19, Object arg20, Object... args)
1257 throws Exception{
1258 switch(getRequiredArity())
1260 case 0:
1261 return doInvoke(ontoArrayPrepend(args, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11,
1262 arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20));
1263 case 1:
1264 return doInvoke(arg1, ontoArrayPrepend(args, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11,
1265 arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20));
1266 case 2:
1267 return doInvoke(arg1, arg2, ontoArrayPrepend(args, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11,
1268 arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19,
1269 arg20));
1270 case 3:
1271 return doInvoke(arg1, arg2, arg3, ontoArrayPrepend(args, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11,
1272 arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19,
1273 arg20));
1274 case 4:
1275 return doInvoke(arg1, arg2, arg3, arg4, ontoArrayPrepend(args, arg5, arg6, arg7, arg8, arg9, arg10, arg11,
1276 arg12, arg13, arg14, arg15, arg16, arg17, arg18,
1277 arg19, arg20));
1278 case 5:
1279 return doInvoke(arg1, arg2, arg3, arg4, arg5, ontoArrayPrepend(args, arg6, arg7, arg8, arg9, arg10, arg11,
1280 arg12, arg13, arg14, arg15, arg16, arg17,
1281 arg18, arg19, arg20));
1282 case 6:
1283 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, ontoArrayPrepend(args, arg7, arg8, arg9, arg10, arg11,
1284 arg12, arg13, arg14, arg15, arg16,
1285 arg17, arg18, arg19, arg20));
1286 case 7:
1287 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, ontoArrayPrepend(args, arg8, arg9, arg10, arg11,
1288 arg12, arg13, arg14, arg15,
1289 arg16, arg17, arg18, arg19,
1290 arg20));
1291 case 8:
1292 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, ontoArrayPrepend(args, arg9, arg10, arg11,
1293 arg12, arg13, arg14, arg15,
1294 arg16, arg17, arg18, arg19,
1295 arg20));
1296 case 9:
1297 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, ontoArrayPrepend(args, arg10, arg11,
1298 arg12, arg13, arg14,
1299 arg15, arg16, arg17,
1300 arg18, arg19,
1301 arg20));
1302 case 10:
1303 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, ontoArrayPrepend(args, arg11,
1304 arg12, arg13,
1305 arg14, arg15,
1306 arg16, arg17,
1307 arg18, arg19,
1308 arg20));
1309 case 11:
1310 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11,
1311 ontoArrayPrepend(args, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20));
1312 case 12:
1313 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12,
1314 ontoArrayPrepend(args, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20));
1315 case 13:
1316 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13,
1317 ontoArrayPrepend(args, arg14, arg15, arg16, arg17, arg18, arg19, arg20));
1318 case 14:
1319 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1320 ontoArrayPrepend(args, arg15, arg16, arg17, arg18, arg19, arg20));
1321 case 15:
1322 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1323 arg15, ontoArrayPrepend(args, arg16, arg17, arg18, arg19, arg20));
1324 case 16:
1325 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1326 arg15, arg16, ontoArrayPrepend(args, arg17, arg18, arg19, arg20));
1327 case 17:
1328 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1329 arg15, arg16, arg17, ontoArrayPrepend(args, arg18, arg19, arg20));
1330 case 18:
1331 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1332 arg15, arg16, arg17, arg18, ontoArrayPrepend(args, arg19, arg20));
1333 case 19:
1334 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1335 arg15, arg16, arg17, arg18, arg19, ontoArrayPrepend(args, arg20));
1336 case 20:
1337 return doInvoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,
1338 arg15, arg16, arg17, arg18, arg19, arg20, ArraySeq.create(args));
1339 default:
1340 return throwArity(21);
1346 protected static ISeq ontoArrayPrepend(Object[] array, Object... args){
1347 ISeq ret = ArraySeq.create(array);
1348 for(int i = args.length - 1; i >= 0; --i)
1349 ret = RT.cons(args[i], ret);
1350 return ret;
1353 protected static ISeq findKey(Object key, ISeq args){
1354 while(args != null)
1356 if(key == args.first())
1357 return args.next();
1358 args = RT.next(args);
1359 args = RT.next(args);
1361 return null;