This file is indexed.

/usr/share/doc/libinvokebinder-java/api/com/headius/invokebinder/Signature.html is in libinvokebinder-java-doc 1.5-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_65) on Thu Jan 22 22:15:32 UTC 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Signature (invokebinder 1.5 API)</title>
<meta name="date" content="2015-01-22">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="Signature (invokebinder 1.5 API)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Signature.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/headius/invokebinder/InvalidTransformException.html" title="class in com.headius.invokebinder"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/headius/invokebinder/SmartBinder.html" title="class in com.headius.invokebinder"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/headius/invokebinder/Signature.html" target="_top">Frames</a></li>
<li><a href="Signature.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.headius.invokebinder</div>
<h2 title="Class Signature" class="title">Class Signature</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.headius.invokebinder.Signature</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">Signature</span>
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Signature represents a series of method arguments plus their symbolic names.

 In order to make it easier to permute arguments, track their flow, and debug
 cases where reordering or permuting fails to work properly, the Signature
 class also tracks symbolic names for all arguments. This allows permuting
 by name or by name pattern, avoiding the error-prone juggling of int[] for
 the standard MethodHandles.permuteArguments call.

 A Signature is created starting using #thatReturns method, and expanded using
 #withArgument for each named argument in sequence. Order is preserved.

 A Signature can be mutated into another by manipuating the argument list as
 with java.lang.invoke.MethodType, but using argument names and name patterns
 instead of integer offsets.

 Two signatures can be used to produce a permute array suitable for use in
 java.lang.invoke.MethodHandles#permuteArguments using the #to methods. The
 #to method can also accept a list of argument names, as a shortcut.</div>
<dl><dt><span class="strong">Author:</span></dt>
  <dd>headius</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#appendArg(java.lang.String,%20java.lang.Class)">appendArg</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;type)</code>
<div class="block">Append an argument (name + type) to the signature.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#appendArgs(java.lang.String[],%20java.lang.Class...)">appendArgs</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;names,
          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>...&nbsp;types)</code>
<div class="block">Append an argument (name + type) to the signature.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#argCount()">argCount</a></strong>()</code>
<div class="block">The current argument count.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#argName(int)">argName</a></strong>(int&nbsp;index)</code>
<div class="block">Retrieve the name of the argument at the given index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#argName(int,%20java.lang.String)">argName</a></strong>(int&nbsp;index,
       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Set the argument name at the given index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#argNames()">argNames</a></strong>()</code>
<div class="block">The current argument names for this signature.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#argOffset(java.lang.String)">argOffset</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Retrieve the offset of the given argument name in this signature's
 arguments.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#argOffsets(java.lang.String)">argOffsets</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;pattern)</code>
<div class="block">Retrieve the offset of the given argument name in this signature's
 arguments.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#argType(int)">argType</a></strong>(int&nbsp;index)</code>
<div class="block">Get the argument type at the given index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#argType(int,%20java.lang.Class)">argType</a></strong>(int&nbsp;index,
       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;type)</code>
<div class="block">Set the argument type at the given index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#asFold(java.lang.Class)">asFold</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;retval)</code>
<div class="block">Produce a new signature based on this one with a different return type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#changeReturn(java.lang.Class)">changeReturn</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;retval)</code>
<div class="block">Create a new signature based on this one with a different return type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#collect(java.lang.String,%20java.lang.String)">collect</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newName,
       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;oldPattern)</code>
<div class="block">Collect sequential arguments matching pattern into an array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#dropArg(int)">dropArg</a></strong>(int&nbsp;index)</code>
<div class="block">Drops the argument at the given index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#dropArg(java.lang.String)">dropArg</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Drops the first argument with the given name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#dropFirst()">dropFirst</a></strong>()</code>
<div class="block">Drop the first argument from this signature.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#dropFirst(int)">dropFirst</a></strong>(int&nbsp;n)</code>
<div class="block">Drop the specified number of first arguments from this signature.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#dropLast()">dropLast</a></strong>()</code>
<div class="block">Drop the last argument from this signature.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#dropLast(int)">dropLast</a></strong>(int&nbsp;n)</code>
<div class="block">Drop the specified number of last arguments from this signature.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#exclude(java.lang.String...)">exclude</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;excludeArgs)</code>
<div class="block">Create a new signature containing the same return value as this one, but
 omitting the specified arguments.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#firstArgName()">firstArgName</a></strong>()</code>
<div class="block">Get the first argument name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#firstArgType()">firstArgType</a></strong>()</code>
<div class="block">Get the first argument type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#from(java.lang.Class,%20java.lang.Class[],%20java.lang.String...)">from</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;retval,
    <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>[]&nbsp;argTypes,
    <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;argNames)</code>
<div class="block">Create a new signature based on the given return value, argument types, and argument names</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#insertArg(int,%20java.lang.String,%20java.lang.Class)">insertArg</a></strong>(int&nbsp;index,
         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;type)</code>
<div class="block">Insert an argument (name + type) into the signature.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#insertArg(java.lang.String,%20java.lang.String,%20java.lang.Class)">insertArg</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;beforeName,
         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;type)</code>
<div class="block">Insert an argument (name + type) into the signature before the argument
 with the given name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#insertArgs(int,%20java.lang.String[],%20java.lang.Class...)">insertArgs</a></strong>(int&nbsp;index,
          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;names,
          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>...&nbsp;types)</code>
<div class="block">Insert arguments (names + types) into the signature.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#insertArgs(java.lang.String,%20java.lang.String[],%20java.lang.Class...)">insertArgs</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;beforeName,
          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;names,
          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>...&nbsp;types)</code>
<div class="block">Insert arguments (names + types) into the signature before the argument
 with the given name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#lastArgName()">lastArgName</a></strong>()</code>
<div class="block">Get the last argument name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#lastArgType()">lastArgType</a></strong>()</code>
<div class="block">Get the last argument type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#permute(java.lang.String...)">permute</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;permuteArgs)</code>
<div class="block">Create a new signature containing the same return value as this one, but
 only the specified arguments.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/invoke/MethodHandle.html?is-external=true" title="class or interface in java.lang.invoke">MethodHandle</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#permuteWith(java.lang.invoke.MethodHandle,%20java.lang.String...)">permuteWith</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/invoke/MethodHandle.html?is-external=true" title="class or interface in java.lang.invoke">MethodHandle</a>&nbsp;target,
           <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;permuteArgs)</code>
<div class="block">Produce a method handle permuting the arguments in this signature using
 the given permute arguments and targeting the given java.lang.invoke.MethodHandle.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/SmartHandle.html" title="class in com.headius.invokebinder">SmartHandle</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#permuteWith(com.headius.invokebinder.SmartHandle)">permuteWith</a></strong>(<a href="../../../com/headius/invokebinder/SmartHandle.html" title="class in com.headius.invokebinder">SmartHandle</a>&nbsp;target)</code>
<div class="block">Produce a new SmartHandle by permuting this Signature's arguments to the
 Signature of a target SmartHandle.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#prependArg(java.lang.String,%20java.lang.Class)">prependArg</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;type)</code>
<div class="block">Prepend an argument (name + type) to the signature.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#prependArgs(java.lang.String[],%20java.lang.Class...)">prependArgs</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;names,
           <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>...&nbsp;types)</code>
<div class="block">Prepend arguments (names + types) to the signature.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#replaceArg(java.lang.String,%20java.lang.String,%20java.lang.Class)">replaceArg</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;oldName,
          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newName,
          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;newType)</code>
<div class="block">Replace the named argument with a new name and type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#returning(java.lang.Class)">returning</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;retval)</code>
<div class="block">Create a new signature returning the given type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#spread(java.lang.String...)">spread</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;names)</code>
<div class="block">Spread the trailing [] argument into its component type assigning given names.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#spread(java.lang.String[],%20java.lang.Class...)">spread</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;names,
      <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>...&nbsp;types)</code>
<div class="block">Spread the trailing [] argument into its component type assigning given names.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#spread(java.lang.String,%20int)">spread</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;baseName,
      int&nbsp;count)</code>
<div class="block">Spread the trailing [] argument into its component type assigning given names.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#to(com.headius.invokebinder.Signature)">to</a></strong>(<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;other)</code>
<div class="block">Generate an array of argument offsets based on permuting this signature
 to the given signature.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#to(java.lang.String...)">to</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;otherArgPatterns)</code>
<div class="block">Generate an array of argument offsets based on permuting this signature
 to the given signature.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#toString()">toString</a></strong>()</code>
<div class="block">Produce a human-readable representation of this signature.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/invoke/MethodType.html?is-external=true" title="class or interface in java.lang.invoke">MethodType</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/headius/invokebinder/Signature.html#type()">type</a></strong>()</code>
<div class="block">The current java.lang.invoke.MethodType for this Signature.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="toString()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<div class="block">Produce a human-readable representation of this signature. This
 representation uses Class#getSimpleName to improve readability.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a human-readable representation of the signature</dd></dl>
</li>
</ul>
<a name="returning(java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>returning</h4>
<pre>public static&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;returning(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;retval)</pre>
<div class="block">Create a new signature returning the given type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>retval</code> - the return type for the new signature</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new signature</dd></dl>
</li>
</ul>
<a name="from(java.lang.Class, java.lang.Class[], java.lang.String...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>from</h4>
<pre>public static&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;from(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;retval,
             <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>[]&nbsp;argTypes,
             <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;argNames)</pre>
<div class="block">Create a new signature based on the given return value, argument types, and argument names</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>retval</code> - the type of the return value</dd><dd><code>argTypes</code> - the types of the arguments</dd><dd><code>argNames</code> - the names of the arguments</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new Signature</dd></dl>
</li>
</ul>
<a name="changeReturn(java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>changeReturn</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;changeReturn(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;retval)</pre>
<div class="block">Create a new signature based on this one with a different return type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>retval</code> - the class for the new signature's return type</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new signature with modified return value</dd></dl>
</li>
</ul>
<a name="asFold(java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asFold</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;asFold(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;retval)</pre>
<div class="block">Produce a new signature based on this one with a different return type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>retval</code> - the new return type for the new signature</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature with the added argument</dd></dl>
</li>
</ul>
<a name="appendArg(java.lang.String, java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendArg</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;appendArg(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;type)</pre>
<div class="block">Append an argument (name + type) to the signature.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the argument</dd><dd><code>type</code> - the type of the argument</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature with the added arguments</dd></dl>
</li>
</ul>
<a name="appendArgs(java.lang.String[], java.lang.Class...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendArgs</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;appendArgs(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;names,
                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>...&nbsp;types)</pre>
<div class="block">Append an argument (name + type) to the signature.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>names</code> - the names of the arguments</dd><dd><code>types</code> - the types of the argument</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature with the added arguments</dd></dl>
</li>
</ul>
<a name="prependArg(java.lang.String, java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prependArg</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;prependArg(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;type)</pre>
<div class="block">Prepend an argument (name + type) to the signature.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the argument</dd><dd><code>type</code> - the type of the argument</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature with the added arguments</dd></dl>
</li>
</ul>
<a name="prependArgs(java.lang.String[], java.lang.Class...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prependArgs</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;prependArgs(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;names,
                    <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>...&nbsp;types)</pre>
<div class="block">Prepend arguments (names + types) to the signature.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>names</code> - the names of the arguments</dd><dd><code>types</code> - the types of the arguments</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature with the added arguments</dd></dl>
</li>
</ul>
<a name="insertArg(int, java.lang.String, java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>insertArg</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;insertArg(int&nbsp;index,
                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;type)</pre>
<div class="block">Insert an argument (name + type) into the signature.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - the index at which to insert</dd><dd><code>name</code> - the name of the new argument</dd><dd><code>type</code> - the type of the new argument</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature with the added arguments</dd></dl>
</li>
</ul>
<a name="insertArg(java.lang.String, java.lang.String, java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>insertArg</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;insertArg(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;beforeName,
                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;type)</pre>
<div class="block">Insert an argument (name + type) into the signature before the argument
 with the given name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>beforeName</code> - the name of the argument before which to insert</dd><dd><code>name</code> - the name of the new argument</dd><dd><code>type</code> - the type of the new argument</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature with the added arguments</dd></dl>
</li>
</ul>
<a name="insertArgs(int, java.lang.String[], java.lang.Class...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>insertArgs</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;insertArgs(int&nbsp;index,
                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;names,
                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>...&nbsp;types)</pre>
<div class="block">Insert arguments (names + types) into the signature.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - the index at which to insert</dd><dd><code>names</code> - the names of the new arguments</dd><dd><code>types</code> - the types of the new arguments</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature with the added arguments</dd></dl>
</li>
</ul>
<a name="insertArgs(java.lang.String, java.lang.String[], java.lang.Class...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>insertArgs</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;insertArgs(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;beforeName,
                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;names,
                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>...&nbsp;types)</pre>
<div class="block">Insert arguments (names + types) into the signature before the argument
 with the given name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>beforeName</code> - the name of the argument before which to insert</dd><dd><code>names</code> - the names of the new arguments</dd><dd><code>types</code> - the types of the new arguments</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new Signature with the added arguments</dd></dl>
</li>
</ul>
<a name="dropArg(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropArg</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;dropArg(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Drops the first argument with the given name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the argument to drop</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature</dd></dl>
</li>
</ul>
<a name="dropArg(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropArg</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;dropArg(int&nbsp;index)</pre>
<div class="block">Drops the argument at the given index.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - the index of the argument to drop</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature</dd></dl>
</li>
</ul>
<a name="dropLast()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropLast</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;dropLast()</pre>
<div class="block">Drop the last argument from this signature.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a new signature</dd></dl>
</li>
</ul>
<a name="dropLast(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropLast</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;dropLast(int&nbsp;n)</pre>
<div class="block">Drop the specified number of last arguments from this signature.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>n</code> - number of arguments to drop</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature</dd></dl>
</li>
</ul>
<a name="dropFirst()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropFirst</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;dropFirst()</pre>
<div class="block">Drop the first argument from this signature.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a new signature</dd></dl>
</li>
</ul>
<a name="dropFirst(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropFirst</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;dropFirst(int&nbsp;n)</pre>
<div class="block">Drop the specified number of first arguments from this signature.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>n</code> - number of arguments to drop</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature</dd></dl>
</li>
</ul>
<a name="replaceArg(java.lang.String, java.lang.String, java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceArg</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;replaceArg(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;oldName,
                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newName,
                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;newType)</pre>
<div class="block">Replace the named argument with a new name and type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>oldName</code> - the old name of the argument</dd><dd><code>newName</code> - the new name of the argument; can be the same as old</dd><dd><code>newType</code> - the new type of the argument; can be the same as old</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature with the modified argument</dd></dl>
</li>
</ul>
<a name="spread(java.lang.String[], java.lang.Class...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>spread</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;spread(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;names,
               <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>...&nbsp;types)</pre>
<div class="block">Spread the trailing [] argument into its component type assigning given names.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>names</code> - names to use for the decomposed arguments</dd><dd><code>types</code> - types to use for the decomposed arguments</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature with decomposed arguments in place of the trailing array</dd></dl>
</li>
</ul>
<a name="spread(java.lang.String...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>spread</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;spread(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;names)</pre>
<div class="block">Spread the trailing [] argument into its component type assigning given names.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>names</code> - names to use for the decomposed arguments</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature with decomposed arguments in place of the trailing array</dd></dl>
</li>
</ul>
<a name="spread(java.lang.String, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>spread</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;spread(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;baseName,
               int&nbsp;count)</pre>
<div class="block">Spread the trailing [] argument into its component type assigning given names.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>baseName</code> - base name of the spread arguments</dd><dd><code>count</code> - number of arguments into which the last argument will decompose</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature with decomposed arguments in place of the trailing array</dd></dl>
</li>
</ul>
<a name="collect(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>collect</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;collect(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newName,
                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;oldPattern)</pre>
<div class="block">Collect sequential arguments matching pattern into an array. They must have the same type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>newName</code> - the name of the new array argument</dd><dd><code>oldPattern</code> - the pattern of arguments to collect</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature with an array argument where the collected arguments were</dd></dl>
</li>
</ul>
<a name="type()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>type</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/invoke/MethodType.html?is-external=true" title="class or interface in java.lang.invoke">MethodType</a>&nbsp;type()</pre>
<div class="block">The current java.lang.invoke.MethodType for this Signature.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the current method type</dd></dl>
</li>
</ul>
<a name="argCount()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>argCount</h4>
<pre>public&nbsp;int&nbsp;argCount()</pre>
<div class="block">The current argument count.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>argument count of this signature</dd></dl>
</li>
</ul>
<a name="argNames()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>argNames</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;argNames()</pre>
<div class="block">The current argument names for this signature.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the current argument names</dd></dl>
</li>
</ul>
<a name="argName(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>argName</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;argName(int&nbsp;index)</pre>
<div class="block">Retrieve the name of the argument at the given index.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - the index from which to get the argument name</dd>
<dt><span class="strong">Returns:</span></dt><dd>the argument name</dd></dl>
</li>
</ul>
<a name="argOffset(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>argOffset</h4>
<pre>public&nbsp;int&nbsp;argOffset(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Retrieve the offset of the given argument name in this signature's
 arguments. If the argument name is not in the argument list, returns -1.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the argument name to search for</dd>
<dt><span class="strong">Returns:</span></dt><dd>the offset at which the argument name was found or -1</dd></dl>
</li>
</ul>
<a name="argOffsets(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>argOffsets</h4>
<pre>public&nbsp;int&nbsp;argOffsets(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;pattern)</pre>
<div class="block">Retrieve the offset of the given argument name in this signature's
 arguments. If the argument name is not in the argument list, returns -1.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>pattern</code> - the argument name to search for</dd>
<dt><span class="strong">Returns:</span></dt><dd>the offset at which the argument name was found or -1</dd></dl>
</li>
</ul>
<a name="firstArgName()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>firstArgName</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;firstArgName()</pre>
<div class="block">Get the first argument name.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the first argument name</dd></dl>
</li>
</ul>
<a name="lastArgName()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastArgName</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;lastArgName()</pre>
<div class="block">Get the last argument name.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the last argument name</dd></dl>
</li>
</ul>
<a name="argName(int, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>argName</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;argName(int&nbsp;index,
                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Set the argument name at the given index.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - the index at which to set the argument name</dd><dd><code>name</code> - the name to set</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature with the given name at the given index</dd></dl>
</li>
</ul>
<a name="argType(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>argType</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;argType(int&nbsp;index)</pre>
<div class="block">Get the argument type at the given index.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - the index from which to get the argument type</dd>
<dt><span class="strong">Returns:</span></dt><dd>the argument type</dd></dl>
</li>
</ul>
<a name="firstArgType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>firstArgType</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;firstArgType()</pre>
<div class="block">Get the first argument type.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the first argument type</dd></dl>
</li>
</ul>
<a name="lastArgType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastArgType</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;lastArgType()</pre>
<div class="block">Get the last argument type.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the last argument type</dd></dl>
</li>
</ul>
<a name="argType(int, java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>argType</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;argType(int&nbsp;index,
                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;type)</pre>
<div class="block">Set the argument type at the given index.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - the index at which to set the argument type</dd><dd><code>type</code> - the type to set</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new signature with the given type at the given index</dd></dl>
</li>
</ul>
<a name="permute(java.lang.String...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>permute</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;permute(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;permuteArgs)</pre>
<div class="block">Create a new signature containing the same return value as this one, but
 only the specified arguments.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>permuteArgs</code> - the names of the arguments to preserve</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new signature</dd></dl>
</li>
</ul>
<a name="exclude(java.lang.String...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exclude</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;exclude(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;excludeArgs)</pre>
<div class="block">Create a new signature containing the same return value as this one, but
 omitting the specified arguments. Blacklisting to #permute's whitelisting.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>excludeArgs</code> - the names of the arguments to exclude</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new signature</dd></dl>
</li>
</ul>
<a name="permuteWith(java.lang.invoke.MethodHandle, java.lang.String...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>permuteWith</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/invoke/MethodHandle.html?is-external=true" title="class or interface in java.lang.invoke">MethodHandle</a>&nbsp;permuteWith(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/invoke/MethodHandle.html?is-external=true" title="class or interface in java.lang.invoke">MethodHandle</a>&nbsp;target,
                       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;permuteArgs)</pre>
<div class="block">Produce a method handle permuting the arguments in this signature using
 the given permute arguments and targeting the given java.lang.invoke.MethodHandle.

 Example:

 <pre>
 Signature sig = Signature.returning(String.class).appendArg("a", int.class).appendArg("b", int.class);
 MethodHandle handle = handleThatTakesOneInt();
 MethodHandle newHandle = sig.permuteTo(handle, "b");
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>target</code> - the method handle to target</dd><dd><code>permuteArgs</code> - the arguments to permute</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new handle that permutes appropriate positions based on the
 given permute args</dd></dl>
</li>
</ul>
<a name="permuteWith(com.headius.invokebinder.SmartHandle)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>permuteWith</h4>
<pre>public&nbsp;<a href="../../../com/headius/invokebinder/SmartHandle.html" title="class in com.headius.invokebinder">SmartHandle</a>&nbsp;permuteWith(<a href="../../../com/headius/invokebinder/SmartHandle.html" title="class in com.headius.invokebinder">SmartHandle</a>&nbsp;target)</pre>
<div class="block">Produce a new SmartHandle by permuting this Signature's arguments to the
 Signature of a target SmartHandle. The new SmartHandle's signature will
 match this one, permuting those arguments and invoking the target handle.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>target</code> - the SmartHandle to use as a permutation target</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new SmartHandle that permutes this Signature's args into a call
 to the target SmartHandle.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../com/headius/invokebinder/Signature.html#permuteWith(java.lang.invoke.MethodHandle,%20java.lang.String...)"><code>permuteWith(java.lang.invoke.MethodHandle, java.lang.String[])</code></a></dd></dl>
</li>
</ul>
<a name="to(com.headius.invokebinder.Signature)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>to</h4>
<pre>public&nbsp;int[]&nbsp;to(<a href="../../../com/headius/invokebinder/Signature.html" title="class in com.headius.invokebinder">Signature</a>&nbsp;other)</pre>
<div class="block">Generate an array of argument offsets based on permuting this signature
 to the given signature.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - the signature to target</dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of argument offsets that will permute to the given
 signature</dd></dl>
</li>
</ul>
<a name="to(java.lang.String...)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>to</h4>
<pre>public&nbsp;int[]&nbsp;to(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;otherArgPatterns)</pre>
<div class="block">Generate an array of argument offsets based on permuting this signature
 to the given signature. Repeats are permitted, and the patterns will be
 matched against actual argument names using regex matching.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>otherArgPatterns</code> - the argument name patterns to permute</dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of argument offsets that will permute to the matching
 argument names</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Signature.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/headius/invokebinder/InvalidTransformException.html" title="class in com.headius.invokebinder"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/headius/invokebinder/SmartBinder.html" title="class in com.headius.invokebinder"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/headius/invokebinder/Signature.html" target="_top">Frames</a></li>
<li><a href="Signature.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2015. All rights reserved.</small></p>
</body>
</html>