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
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
package Torello.Java;

import Torello.Java.StrCmpr;
import Torello.Java.StrReplace;
import Torello.HTML.Tools.JavaDoc.SummarySorterHelper;
import Torello.HTML.Tools.JavaDoc.Method;
import Torello.HTML.Tools.JavaDoc.Field;

public class SummarySorters extends SummarySorterHelper
{
    // ********************************************************************************************
    // Class Torello.Java.CmdLine
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] CmdLine$M$Sections =
    {
        "UNIX like 'SED', written in Java",
        "UNIX 'CURL' written in Java",
        "Main Method can be invoked from Command Line"
    };

    public static int CmdLine$M$Sorter(Method m)
    {
        if (m.name.equals("SED"))   return 0;
        if (m.name.equals("CURL"))  return 1;
        if (m.name.equals("main"))  return 2;
        throw UE(m);
    }

    // ********************************************************************************************
    // Class Torello.Java.EXCC
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] EXCC$M$Sections =
    {
        "Print Exception and, recursively, all causes to a String",
        "Print Exceptions recursively, but do not print Stack-Traces",
    };

    public static int EXCC$M$Sorter(Method m)
    {
        if (m.name.equals("toString"))      return 0;
        if (m.name.equals("toStringNoST"))  return 1;
        throw UE(m);
    }

    // ********************************************************************************************
    // Class Torello.Java.FileNode
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    private static final String RTC =
        " to any container (using <CODE STYLE='font-size: 108%'><B><A HREF='FileNode.RetTypeChoice.html'>RetTypeChoice" +
        "</A></B></CODE>)";

    private static final String VEC = " to a <CODE STYLE='font-size: 108%;'>Vector</CODE>";

    public static final String[] FileNode$M$Sections =
    {
        /* 00 */ "Basic Methods",
        /* 01 */ "<B CLASS=STBLabel>Initialize:</B> Create a Tree, Load the Tree",
        /* 02 */ "<B CLASS=STBLabel>List:</B> Print all Files to Terminal or an <CODE STYLE='font-size: 108%'>Appendable</CODE>",
        /* 03 */ "<B CLASS=STBLabel>Find:</B> Search a Single Directory for One File or Sub-Directory",                 
        /* 04 */ "<B CLASS=STBLabel>Flatten:</B> Copy Directory-Tree Contents" + VEC,
        /* 05 */ /* 0 */ "<B CLASS=STBLabel>Flatten:</B> Copy Directory-Tree Contents" + RTC,
        /* 06 */ "<B CLASS=STBLabel>Retrieve:</B> Copy a Single-Directory's Contents" + VEC,
        /* 07 */ "<B CLASS=STBLabel>Retrieve:</B> Copy a Single-Directory's Contents" + RTC,
        /* 08 */ "<B CLASS=STBLabel>Count:</B> The Number of FileNode's in the Entire Tree",
        /* 09 */ "<B CLASS=STBLabel>Count:</B> The Number of FileNode's in a Single-Directory",
        /* 10 */ "<B CLASS=STBLabel>Poll:</B> Extract &amp; Return a FileNode from the Tree",
        /* 11 */ "<B CLASS=STBLabel>Remove:</B> FileNode(s) from the Tree",
        /* 12 */ "<B CLASS=STBLabel>Lambda-Target:</B> Methods Accepting a Functional-Interface", 
        /* 13 */ "On-Disk File-Size",
        /* 14 */ CHARSEQUENCE_M,
        /* 15 */ COMPARABLE_M + "&lt;FileNode&gt;",
        /* 16 */ CLONEABLE_M,
        /* 17 */ OBJECT_M,
     };

    public static int FileNode$M$Sorter(Method m)
    {
        boolean RTC = m.hasParameterNamed("listChoice");

        if (StrCmpr.startsWithXOR(m.name, "createRoot", "loadTree"))    return 1;
        if (m.name.startsWith("printTree"))                             return 2;
        if (StrCmpr.equalsXOR(m.name, "dir", "file"))                   return 3;
        if (m.name.startsWith("flatten"))                               return RTC ? 5 : 4;
        if (m.name.startsWith("getDirContents"))                        return RTC ? 7 : 6;
        if (m.name.startsWith("count"))                                 return 8;
        if (m.name.startsWith("num"))                                   return 9;
        if (m.name.startsWith("poll"))                                  return 10;
        if (eqOR(m, "prune", "del", "pruneTree"))                       return 11;
        if (eqOR(m, "accept", "apply", "ask", "forEach"))               return 12;
        if (eqOR(m,"getDirContentsSize", "getDirTotalContentsSize"))    return 13;
        if (eqOR(m,"toString", "subSequence", "length", "charAt"))      return 14;
        if (m.name.equals("compareTo"))                                 return 15;
        if (m.name.equals("clone"))                                     return 16;
        if (StrCmpr.equalsXOR(m.name, "equals", "hashCode"))            return 17;

        return 0;
    }

    // ********************************************************************************************
    // Class Torello.Java.FileNode
    // Rearrage "Field Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] FileNode$F$Sections =
    {
        SERIALIZABLE_F,
        "Primary Fields",
        "Static Print Flag",
        "Static SecurityException Catch Flag",
        "2<SUP>nd</SUP> java.util.Comparator<FileNode>",
        "Protected Reference-Pointer Fields"
    };

    public static int FileNode$F$Sorter(Field f)
    {
        if (SERIALIZABLE_F(f))                                  return 0;
        if (f.name.equals("VERBOSE"))                           return 2;
        if (f.name.equals("SKIP_DIR_ON_SECURITY_EXCEPTION"))    return 3;
        if (f.name.equals("comp2"))                             return 4;
        if (f.hasModifier("protected"))                         return 5;

        return 1;
    }

    // ********************************************************************************************
    // Class Torello.Java.FileRW
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] FileRW$M$Sections =
    {
        "Read Text Files",              "Write Text Files",
        "Read Serialized-Object(s)",    "Write Serialized-Object(s)",
        "Move, Copy &amp; Delete",      "Read Text-Numbers",
        "Read &amp; Write <CODE STYLE='font-size: 108%'>byte[]</CODE> arrays to Binary-Files"
    };

    public static int FileRW$M$Sorter(Method m)
    {
        if (m.name.equals("appendToFile"))  return 1;
        if (m.name.contains("Object"))      return m.name.contains("read") ? 2: 3;
        if (m.name.startsWith("writeFile")) return 1;
        if (m.name.startsWith("loadFile"))  return 0;
        if (m.hasParameterNamed("isCSV"))   return 5;
        if (cOR(m, "Binary", "Class"))      return 6;
        if (m.name.equals("getOIS"))        return 2;
        if (m.name.equals("getOOS"))        return 3;

        if (StrCmpr.equalsXOR(m.name, "moveFile", "copyFile", "deleteFiles", "delTree"))
            return 4;

        throw UE(m);
    }

    // ********************************************************************************************
    // Class Torello.Java.FileTransfer
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] FileTransfer$M$Sections =
    { "Directory Methods", "Directory-Tree Methods" };

    public static int FileTransfer$M$Sorter(Method m)
    { return m.name.contains("Recursive") ? 1 : 0; }


    // ********************************************************************************************
    // Class Torello.Java.FileNode.RetTypeChoice
    // Rearrage "Field Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] FileNode$RetTypeChoice$F$Sections =
    {
        "FileNode Instances",
        "FileNode Instances, sorted by File-Name",
        "FileNode Instances, sorted by Full-Path File-Name",
        "FileNode Instances, sorted by On-Disk File-Size",
        "FileNode Instances, sorted by Date",

        "File-Name as String",
        "File-Name as String, sorted",
        "File-Name as String, sorted by On-Disk File-Size",
        "File-Name as String, sorted by Date",

        "Full-Path File-Name as String",
        "Full-Path File-Name as String, sorted",
        "Full-Path File-Name as String, sorted by On-Disk File-Size",
        "Full-Path File-Name as String, sorted by Date",

        "Internal, Protected"
    };

    public static int FileNode$RetTypeChoice$F$Sorter(Field f)
    {
        if (f.hasModifier("protected"))                 return 13;

        if (f.name.startsWith("FILENAME"))              return 5;
        if (f.name.startsWith("FULLPATH"))              return 9;

        if (f.name.startsWith("SORTED_BY_FILENAME_"))   return 1;
        if (f.name.startsWith("SORTED_BY_FULLPATH_"))   return 2;

        if (f.name.startsWith("SORTED_FILENAME"))       return 6;
        if (f.name.startsWith("SORTED_FULLPATH"))       return 10;

        if (f.name.startsWith("SORTED_BY_SIZE_"))
        {
            if (f.name.contains("FILENAME"))            return 7;
            if (f.name.contains("FULLPATH"))            return 11;
            return 3;
        }

        if (f.name.startsWith("SORTED_BY_DATE_"))
        {
            if (f.name.contains("FILENAME"))            return 8;
            if (f.name.contains("FULLPATH"))            return 12;
            return 4;
        }

        return 0;
    }

    // ********************************************************************************************
    // Class Torello.Java.GREP
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] GREP$M$Sections =
    {
        "Search a List of Files for Text w/ a RegEx",
        "Search File List for Text, Use Return-Type Selector",
        "Search a Single File for Text w/ a RegEx"
    };

    public static int GREP$M$Sorter(Method m)
    {
        if (m.name.equals("searchFile"))        return 2;
        if (m.hasParameterNamed("listChoice"))  return 1;
        if (m.name.equals("search"))            return 0;
        throw UE(m);
    }

    // ********************************************************************************************
    // Class Torello.Java.GSUTIL
    // Rearrage "Method $ Field Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] GSUTIL$M$Sections =
    {
        "Storage Bucket Contents: Copy Files &amp; Directories",
        "Storage Bucket Contents: Move Files &amp; Directories",
        "Storage Bucket Contents: Delete Files &amp; Directories",
        "Storage Bucket Contents: List Files &amp; Directories",
        "Storage Bucket Contents: Synchronize Files &amp; Directories",
        "Google Storage: Make Files Publicly Viewable",
        "Google Storage: Stop Files from being Publicly Viewable",
        "Setting HTTP-Headers for Files: Set Browser-Cache Max-Age",
        "Setting HTTP-Headers for Files: Browser-Cache",
        "Setting HTTP-Headers for Files: Content-Disposition",
        "Setting HTTP-Headers for Files: Content-Encoding",
        "Setting HTTP-Headers for Files: Content-Tye",
        "Setting HTTP-Headers for Files: Customized Meta Data",
    };

    public static int GSUTIL$M$Sorter(Method m)
    {
        if (m.name.equals("CP"))                    return 0;
        if (m.name.equals("MV"))                    return 1;
        if (m.name.equals("RM"))                    return 2;
        if (m.name.equals("LS"))                    return 3;
        if (m.name.equals("RSYNC"))                 return 4;
        if (m.name.equals("MP"))                    return 5;
        if (m.name.equals("SP"))                    return 6;
        if (m.name.equals("SMA"))                   return 7;
        if (m.name.equals("CACHE_CONTROL"))         return 8;
        if (m.name.equals("CONTENT_DISPOSITION"))   return 9;
        if (m.name.equals("CONTENT_ENCODING"))      return 10;
        if (m.name.equals("CONTENT_TYPE"))          return 11;
        if (m.name.equals("CUSTOM_METADATA"))       return 12;
        throw UE(m);
    }

    public static final String[] GSUTIL$F$Sections =
    { "Output Log Writer", "'Content-Type' HTTP Meta-Data String-Constants" };

    public static int GSUTIL$F$Sorter(Field f)
    {
        if (eqOR(f, "appendable", "cmdOrCmdAndOutput")) return 0;
        if (f.name.startsWith("SCT_"))                  return 1;
        throw UE(f);
    }

    // ********************************************************************************************
    // Class Torello.Java.HiLiteMe, HiLiteMe.Cache, HiLiteMe.Params
    // Rearrage "Method & Field Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] HiLiteMe$M$Sections =
    {
        "Methods: Code-Type Parameter",
        "Methods: Style Parameter",
        "View / List All Code-Type &amp; Style Parameters",
        "HiLiting Source Code, Return HTML String",
        "HiLiting Source Code, Return HTML String, Use File-System Cache",
        "HiLiting Source Code, Return Vectorized-HTML",
        "HiLiting Source Code, Return Vectorized-HTML, Use File-System Cache",
        "Replacing In-Line STYLE Attributes with CSS CLASS Attributes",
        "HiLiting All Files in Directory Tree"
    };

    public static int HiLiteMe$M$Sorter(Method m)
    {
        if (m.returnType.contains("Iterator")) return 2;   // Needs to be first
        if (m.name.contains("CodeType") || m.name.equals("getCodeDescription")) return 0;
        if (m.name.contains("StyleType")) return 1;

        if (eqOR(m, "simplifyColorSpans", "styleParamCSSClasses", "main"))  return 7;
        if (eqOR(m, "createIndex", "prettyPrintRecurseTree"))               return 8;

        boolean cache       = m.hasParameterNamed("cache");
        boolean vector      = m.name.contains("ToVector");
        boolean isHiLite    = m.name.startsWith("prettyPrint");

        if (isHiLite && (!vector) && (!cache))  return 3;
        if (isHiLite && (!vector) && cache)     return 4;
        if (isHiLite && vector && (!cache))     return 5;
        if (isHiLite && vector && cache)        return 6;

        throw UE(m);
    }

    public static final String[] HiLiteMe$Cache$M$Sections =
    {
        "Initializing either a new, or existing, Cache",
        "Master-Cache File-Hashes List",
        "Cache Information &amp; Stats",
    };

    public static int HiLiteMe$Cache$M$Sorter(Method m)
    {
        if (m.name.equals("initializeOrClear")) return 0;
        if (m.name.contains("MasterHash"))      return 1;
        if (m.name.startsWith("total"))         return 2;
        throw UE(m);
    }

    public static final String[] HiLiteMe$Params$F$Sections =
    {
        "Default, Static String Constants",
        "HTML Page Header &amp; Footer Settings",
        "Customizable Boolean-Flags",
        "Choosing a Style Type",
        "Use a File-System Cache",
        "File-System Save-File Location",
        "Selecting which Source-Code or HTML Files to HiLite",
        "Specifying <I>per-File</I> Style-Types"
    };

    public static int HiLiteMe$Params$F$Sorter(Field f)
    {
        if (f.hasModifier("static") && f.hasModifier("final"))  return 0;
        if (eqOR(f, "headerHTML", "endingHTML"))                return 1;
        if (f.type.equals("boolean"))                           return 2;
        if (f.name.equals("styleTag"))                          return 3;
        if (f.name.equals("cache"))                             return 4;
        if (f.name.equals("targetDirectory"))                   return 5;
        if (f.name.equals("fileIndexList"))                     return 6;
        if (f.name.equals("customMappings"))                    return 7;
        throw UE(f);
    }

    // ********************************************************************************************
    // Class Torello.Java.IOExceptionHandler 
    // Rearrage "Field Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] IOExceptionHandler$F$Sections =
    { SERIALIZABLE_F, "Standard Handler Instance" };

    public static int IOExceptionHandler$F$Sorter(Field f)
    {
        if (SERIALIZABLE_F(f))          return 0;
        if (f.name.equals("SIMPLE"))    return 1;
        throw UE(f);
    }

    // ********************************************************************************************
    // Class Torello.Java.LFEC and LFEC.GCSSB
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] LFEC$M$Sections =
    {
        "Loading Text Files to memory",
        "Loading Java Serializable-Object Files to memory",
        "Extracting &amp; Copying a File from a JAR to disk",
        "Internal, Protected Methods"
    };

    public static int LFEC$M$Sorter(Method m)
    {
        if (m.name.startsWith("loadFile"))      return 0;
        if (m.name.startsWith("readObject"))    return 1;
        if (m.name.startsWith("copyFile"))      return 2;
        if (m.name.equals("ERROR_EXIT"))        return 3;
        throw UE(m);
    }

    public static final String[] LFEC$GCSSB$M$Sections =
    {
        "Read Files from Google Cloud Platform Storage Buckets",
        "Write Files to Google Cloud Platform Storage Buckets",
    };

    public static int LFEC$GCSSB$M$Sorter(Method m)
    {
        if (swOR(m, "read", "load"))    return 0;
        if (swOR(m, "write"))           return 1;
        throw UE(m);
    }

    // ********************************************************************************************
    // Class Torello.Java.Lint
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] Lint$M$Sections =
    { "Break-up Java Doc Comment lines that are longer than 100 characters" };

    public static int Lint$M$Sorter(Method m)
    { return 0; }

    // ********************************************************************************************
    // Class Torello.Java.LV
    // Rearrage "Method & Field Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] LV$M$Sections =
    { CLONEABLE_M, OBJECT_M, "Retrieve the number of elements to be iterated by 'this' LV" };

    public static int LV$M$Sorter(Method m)
    {
        if (CLONEABLE_M(m))         return 0;
        if (OBJECT_M(m))            return 1;
        if (m.name.equals("size"))  return 2;
        throw UE(m);
    }

    public static final String[] LV$F$Sections =
    { SERIALIZABLE_F, "Loop-Boundary Public, Final Fields" };

    public static int LV$F$Sorter(Field f)
    {
        if (SERIALIZABLE_F(f))                          return 0;
        if (StrCmpr.equalsXOR(f.name, "start", "end"))  return 1;
        throw UE(f);
    }

    // ********************************************************************************************
    // Class Torello.Java.OSResponse
    // Rearrage "Method Summary" and "Field Summary" Sections on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] OSResponse$M$Sections =
    {
        "Methods used by Torello.Java.Shell (and GSUTIL)",
        "Methods used by Torello.Java.Shell.XL",
    };

    public static int OSResponse$M$Sorter(Method m)
    { return m.hasParameterNamed("errorRedirect") ? 1 : 0; }

    public static final String[] OSResponse$F$Sections =
    {
        SERIALIZABLE_F,
        "Operating-System Response Code",
        "Standard-Out &amp; Error-Out, as a java.lang.String",
        "Interrupted Flag"
    };

    public static int OSResponse$F$Sorter(Field f)
    {
        if (SERIALIZABLE_F(f))              return 0;
        if (f.name.equals("response"))      return 1;
        if (f.name.startsWith("std"))       return 2;
        if (f.name.equals("INTERRUPTED"))   return 3;
        throw UE(f);
    }

    // ********************************************************************************************
    // Class Torello.Java.Q
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] Q$M$Sections =
    {
        "Program Execution Break Point, Query the User",
        "Query a User (at the terminal) a Yes / No Answer",
        "Query a User (at the terminal) an Integer",
        "Quick Scanner String Read-Line"
    };

    public static int Q$M$Sorter(Method m)
    {
        if (m.name.equals("BP"))        return 0;
        if (m.name.equals("YN"))        return 1;
        if (m.name.equals("intNUM"))    return 2;
        if (m.name.equals("readLine"))  return 3;
        throw UE(m);
     }

    // ********************************************************************************************
    // Class Torello.Java.RegExFiles
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] RegExFiles$M$Sections =
    {
        "Methods: Load File, Exception-Catch",
        "Internal, Protected Methods"
    };

    public static int RegExFiles$M$Sorter(Method m)
    { return m.hasModifier("protected") ? 1 : 0; }

    // ********************************************************************************************
    // Class Torello.Java.SearchAndPrint
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] SearchAndPrint$M$Sections =
    {
        FINTERFACE_M,
        "Static-Factory Builder: First N Matches",
        "Static-Factory Builder: Last N Matches",
        "Static-Factory Builder: All Matches",
        "Used Internally (Helper)"
    };

    public static int SearchAndPrint$M$Sorter(Method m)
    {
        if (m.name.equals("test"))          return 0;
        if (m.name.equals("FIRSTN"))        return 1;
        if (m.name.equals("LASTN"))         return 2;
        if (m.name.equals("ALL"))           return 3;
        if (m.name.equals("findAndPrint"))  return 4;
        throw UE(m);
    }

    // ********************************************************************************************
    // Class Torello.Java.Shell  **AND** Shell.XL
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] Shell$M$Sections =
    {
        "Copy Files &amp; Directories",
        "Move Files &amp; Directories",
        "Removing Files &amp; Directories",
        "Listing Files &amp; Directories",
        "Common UNIX Commands",
        "Any UNIX Command"
    };

    public static final String[] Shell$XL$M$Sections = Shell$M$Sections;

    public static int Shell$M$Sorter(Method m)
    {
        if (m.name.equals("CP"))            return 0;
        if (m.name.equals("MV"))            return 1;
        if (m.name.equals("RM"))            return 2;
        if (m.name.equals("LS"))            return 3;
        if (m.name.equals("COMMAND"))       return 5; // Do this before the next step
        if (m.hasParameterNamed("args"))    return 4;
        throw UE(m);
    }

    public static int Shell$XL$M$Sorter(Method m) { return Shell$M$Sorter(m); }

    // ********************************************************************************************
    // Class Torello.Java.Shell.C
    // Rearrage "Method & Field Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] Shell$C$M$Sections =
    {
        "Convert text w/ Color-Code Sequences to HTML w/ &lt;SPAN&gt; Tags",
        "CSS CLASS Definitions for &lt;SPAN&gt; Tags",
        "CSS Inline STYLE Attributes for Color-Code Sequences",
        "Retrieve CSS CLASS Definitions File as a String"
    };

    public static int Shell$C$M$Sorter(Method m)
    {
        if (m.name.equals("toHTML"))            return 0;
        if (m.name.equals("span"))              return 1;
        if (m.name.equals("spanInlineStyle"))   return 2;
        if (m.name.startsWith("getCSSDef"))     return 3;
        throw UE(m);
    }

    public static final String[] Shell$C$F$Sections =
    {
        "Foreground, Text Colors",
        "Background Colors",
        "Bright, Bold Foreground &amp; Text Colors",
        "Bright, Bold Background Colors",
        "Stop Color Sequence",
    };

    private static final String[] colorNames =
    { "BLACK", "BLUE", "CYAN", "GREEN", "PURPLE", "RED", "WHITE", "YELLOW" };

    public static int Shell$C$F$Sorter(Field f)
    {
        if (f.name.equals("RESET"))         return 4;

        String name = StrReplace.r(f.name, colorNames, (i, s) -> ""); 
        boolean background = name.endsWith("_BKGND");
        boolean bright = name.startsWith("B");

        if ((! background) && (! bright))   return 0;
        if (background && (! bright))       return 1;
        if ((! background) && bright)       return 2;
        if (background && bright)           return 3;
        throw UE(f);
    }

    // ********************************************************************************************
    // Class Torello.Java.StorageWriter
    // Rearrage "Method & Field Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] StorageWriter$M$Sections =
    {
        "StorageWriter Methods", APPENDABLE_M, PRINTSTREAM_M, FLUSHABLE_M, CLOSEABLE_M,
        WRITER_M
    };

    public static int StorageWriter$M$Sorter(Method m)
    {
        if (eqOR(m, "erase", "getString")) return 0;

        if (APPENDABLE_M(m))    return 1;
        if (PRINTSTREAM_M(m))   return 2;
        if (FLUSHABLE_M(m))     return 3;
        if (CLOSEABLE_M(m))     return 4;
        if (WRITER_M(m))        return 5;
        throw UE(m);
    }

    public static final String[] StorageWriter$F$Sections =
    {
        "All text is saved to a java.util.StringBuffer",
        "Boolean flag for automatically sending text to System.out"
    };

    public static int StorageWriter$F$Sorter(Field f)
    {
        if (f.name.equals("sb"))        return 0;
        if (f.name.equals("sysOut"))    return 1;
        throw UE(f);
    }

    // ********************************************************************************************
    // Class Torello.Java.StrCh
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] StrCh$M$Sections =
    {
        "Single Input-Character Comparisons",
        "Contains Comparisons",
        "Starts-With Comparisons",
        "Ends-With Comparisons",
        "Internal, Protected Methods"
    };

    public static int StrCh$M$Sorter(Method m)
    {
        if (m.name.contains("IgnoreCase"))      return 0;
        if (m.name.startsWith("contains"))      return 1;
        if (m.name.startsWith("startsWith"))    return 2;
        if (m.name.startsWith("endsWith"))      return 3;
        if (m.hasModifier("protected"))         return 4;
        throw UE(m);
    }

    public static final String[] StrCh$F$Sections = { "Internal, Protected Helper Fields" };

    public static int StrCh$F$Sorter(Field f)
    { if (eqOR(f, "AND", "XOR", "OR", "NAND")) return 0; throw UE(f); }


    // ********************************************************************************************
    // Class Torello.Java.StrCmpr
    // Rearrage "Method & Field Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] StrCmpr$M$Sections =
    {
        "Equals",       "Equals, Range-Limited",
        "Contains",     "Contains, Range-Limited",
        "Starts-With",  "Starts-With, Range-Limited",
        "Ends-With",    "Ends-With, Range-Limited",
        "Internal, Protected Helper Methods"
    };

    public static int StrCmpr$M$Sorter(Method m)
    {
        boolean b = m.hasParameterNamed("sPos");

        if (m.hasModifier("protected"))         return 8;
        if (m.name.startsWith("equals"))        return b ? 1 : 0;
        if (m.name.startsWith("contains"))      return b ? 3 : 2;
        if (m.name.startsWith("startsWith"))    return b ? 5 : 4;
        if (m.name.startsWith("endsWith"))      return b ? 7 : 6;

        return 8;
    }

    public static final String[] StrCmpr$F$Sections =
    { "Simple Debug Printing Fields", "Internal, Protected Helper Fields" };

    public static int StrCmpr$F$Sorter(Field f)
    {
        if (f.name.startsWith("DEBUG"))             return 0;
        if (eqOR(f, "AND", "XOR", "OR", "NAND"))    return 1;
        throw UE(f);
    }

    // ********************************************************************************************
    // Class Torello.Java.StrCSV
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] StrCSV$M$Sections =
    {
        "Parse CSV",
        "Generate CSV",                     "Generate CSV, Range-Limited",
        "Generate CSV, Primitive-Array",    "Generate CSV, Primitive-Array, Range-Limited",
        "Generate CSV, 2-D Primitive-Array"
    };

    public static int StrCSV$M$Sorter(Method m)
    {
        if (m.name.equals("CSV"))               return 0;

        // SPECIAL-CASE 
        if (    m.hasParameterNamed("tArr")
            &&  m.hasParameterNamed("toString")
            &&  m.hasParameterNamed("keepRow")
            )                                   return 1;

        if (m.hasParameterNamed("keepRow"))     return 5;

        boolean lim = m.hasParameterNamed("sPos");

        if (m.hasParameterNamed("printNulls"))  return lim ? 2 : 1;
        if (m.hasParameterNamed("tArr"))        return lim ? 2 : 1;

        return lim ? 4 : 3;        
    }

    // ********************************************************************************************
    // Class Torello.Java.StrIndent
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] StrIndent$M$Sections =
    {
        "Basic Text Indentation",
        "String-Trim Text Methods",
        "Source Code Indentation",
        "Unindent Text"
    };

    public static int StrIndent$M$Sorter(Method m)
    {
        if (m.name.startsWith("indent"))                return 0;
        if (StrCmpr.containsIgnoreCase(m.name, "trim")) return 1;
        if (m.name.startsWith("setCodeIndent"))         return 2;
        if (StrCmpr.equalsXOR(m.name,
                "chompCallableBraces", "tabsToSpace",
                "computeEffectiveLeadingWhiteSpace",
                "lineOfCodeAsStr"))                     return 2;
        if (m.name.equals("unIndent"))                  return 3;
        throw UE(m);
    }

    // ********************************************************************************************
    // Class Torello.Java.StrIndexOf
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] StrIndexOf$M$Sections =
    {
        "All",              "All, Range-Limited",
        "First",            "First, Range-Limited",
        "Last",             "Last, Range-Limited",
        "Nth",              "Nth, Range-Limited",
        "Nth-From-End",     "Nth-From-End, Range-Limited",
        "Left",
        "Nth-Left"
    };

    public static int StrIndexOf$M$Sorter(Method m)
    {
        boolean lim = m.hasParameterNamed("sPos");

        if (m.name.startsWith("all"))           return lim ? 1 : 0;
        if (m.name.startsWith("first"))         return lim ? 3 : 2;
        if (m.name.startsWith("last"))          return lim ? 5 : 4;
        if (m.name.startsWith("nthFromEnd"))    return lim ? 9 : 8;
        if (m.name.startsWith("nthLeft"))       return 11;  // Order matters!  These lines *MUST* come
        if (m.name.startsWith("left"))          return 10;  // after the previous lines!
        if (m.name.startsWith("nth"))           return lim ? 7 : 6;

        throw UE(m);
    }

    // ********************************************************************************************
    // Class Torello.Java.StringParse
    // Rearrage "Method and Field Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] StringParse$M$Sections =
    {
        "General Methods",
        "File, Directory &amp; URL Strings",
        "Date &amp; Time",
        "Number Strings",
        "Base64 Object Serialization",
        "Parentheticals",
        "HTML &amp; Source-Code Strings",
        "Lines of Text",
        "Abbreviate String's"
    };

    public static int StringParse$M$Sorter(Method m)
    {
        if (m.name.equals("newLinesAsText"))                                        return 0;
        if (swOR(m, "dotDot", "find", "before", "from"))                            return 1;
        if (m.name.contains("Extension"))                                           return 1;
        if (swOR(m, "dateStr", "timeStr", "ym", "monthStr"))                        return 2;
        if (m.name.equals("isJavaTypeStr"))                                         return 6;
        if (swOR(m, "is", "zeroPad"))                                               return 3;
        if (eqOR(m ,"commas", "ordinalIndicator"))                                  return 3;
        if (StrCmpr.containsIgnoreCase(m.name, "b64"))                              return 4;

        if (    m.name.startsWith("remove")
            &&  StrCmpr.containsOR(m.name, "Braces", "Brackets", "Paren"))          return 5;

        if (StrCmpr.startsWithXOR(m.name, "grep_", "replace", "esc"))               return 6;

        if (eqOR(m, "ifQuotesStripQuotes", "parseGenericType", "removeGeneric",
                "caretBeneath", "typeToJavaIdentifier", "removeExtendsClause"))     return 6;

        if (m.name.contains("Lines"))                                               return 7;
        if (eqOR(m, "line", "trimEachLine"))                                        return 7;
        if (eqOR(m, "abbrev", "abbrevStart", "abbrevEnd"))                          return 8;
        if (m.name.startsWith("abbrev") && m.name.endsWith("RDSF"))                 return 8;

        // DEFAULT: General String Methods
        return 0;
    }

    public static final String[] StringParse$F$Sections =
    {
        "Regular-Expressions",
        "Predicate<String>",
        "String",
        "Protected Arrays",
    };

    public static int StringParse$F$Sorter(Field f)
    {
        if (f.typeJOW.equals("Pattern"))            return 0;
        if (f.typeJOW.equals("Predicate"))  return 1;
        if (f.typeJOW.equals("String"))             return 2;
        if (f.hasModifier("protected"))             return 3;
        if (f.name.equals("EMPTY_STR_ARRAY"))       return 2;

        throw UE(f);
    }

    // ********************************************************************************************
    // Class Torello.Java.StrReplace
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] StrReplace$M$Sections =
    {
        "Replace Match-Chars",      "Replace Match-Chars, Case-Insensitive",
        "Replace Match-Strings",    "Replace Match-Strings, Case-Insensitive",
        "Pre-Pend a Character"
    };

    public static int StrReplace$M$Sorter(Method m)
    {
        if (m.hasParameterNamed("prependChar")) return 4;

        boolean ci = m.hasParameterNamed("ignoreCase");
        
        if (m.hasParameterNamed("matchChars")) return ci ? 1 : 0;

        return ci ? 3 : 2;
    }

    // ********************************************************************************************
    // Class Torello.Java.StrTokCmpr
    // Rearrage "Method & Field Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] StrTokCmpr$M$Sections =
    {
        "Contains",                             "Contains, Range-Limited",
        "Contains w/ Extra-Delimiter Test",     "Contains, Range-Limited w/ Extra-Delimiter Test",
        "Starts-With",                          "Starts-With, Range-Limited",
        "Starts-With w/ Extra-Delimiter Test",  "Starts-With, Range-Limited w/ Extra-Delimiter Test",
        "Ends-With",                            "Ends-With, Range-Limited",
        "Ends-With w/ Extra-Delimiter Test",    "Ends-With, Range-Limited w/ Extra-Delimiter Test",
        "Internal, Protected Helper Methods"
    };

    public static int StrTokCmpr$M$Sorter(Method m)
    {
        boolean lim     = m.hasParameterNamed("sPos");
        boolean test    = m.hasParameterNamed("extraDelimiterTest");

        if (m.hasModifier("protected")) return 12;

        if (m.name.startsWith("contains"))      return lim ? (test ? 3  : 1) : (test ? 2  : 0);
        if (m.name.startsWith("startsWith"))    return lim ? (test ? 7  : 5) : (test ? 6  : 4);
        if (m.name.startsWith("endsWith"))      return lim ? (test ? 11 : 9) : (test ? 10 : 8);

        return 12;
    }

    public static final String[] StrTokCmpr$F$Sections = StrCmpr$F$Sections;

    public static int StrTokCmpr$F$Sorter(Field f) { return StrCmpr$F$Sorter(f); }

    // ********************************************************************************************
    // Class Torello.Java.StrTokIndexOf
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] StrTokIndexOf$M$Sections =
    {
        "All",                                  "All, Range-Limited",
        "All w/ Extra-Delimiter Test",          "All, Range-Limited w/ Extra-Delimiter Test",
        "First",                                "First, Range-Limited",
        "First w/ Extra-Delimiter Test",        "First, Range-Limited w/ Extra-Delimiter Test",
        "Last",                                 "Last, Range-Limited",
        "Last w/ Extra-Delimiter Test",         "Last, Range-Limited w/ Extra-Delimiter Test",
        "Nth",                                  "Nth, Range-Limited",
        "Nth w/ Extra-Delimiter Test",          "Nth, Range-Limited w/ Extra-Delimiter Test",
        "Nth-From-End",                         "Nth-From-End, Range-Limited",
        "Nth-From-End w/ Extra-Delimiter Test", "Nth-From-End, Range-Limited w/ Extra-Delimiter Test",
        "Left",                                 "Left w/ Extra-Delimiter Test",
        "Nth-Left",                             "Nth-Left w/ Extra-Delimiter Test"
    };

    public static int StrTokIndexOf$M$Sorter(Method m)
    {
        boolean lim     = m.hasParameterNamed("sPos");
        boolean test    = m.hasParameterNamed("extraDelimiterTest");

        // The order matters among these sorter-lines!  methods named "nth", "nthLeft" and
        // "nthFromEnd" all start with the sub-string "nth"
        if (m.name.startsWith("all"))           return lim ? (test ? 3  : 1)  : (test ? 2  : 0);
        if (m.name.startsWith("first"))         return lim ? (test ? 7  : 5)  : (test ? 6  : 4);
        if (m.name.startsWith("last"))          return lim ? (test ? 11 : 9)  : (test ? 10 : 8);
        if (m.name.startsWith("nthFromEnd"))    return lim ? (test ? 19 : 17) : (test ? 18 : 16);
        if (m.name.startsWith("nthLeft"))       return test ? 23 : 22;
        if (m.name.startsWith("left"))          return test ? 21 : 20;
        if (m.name.startsWith("nth"))           return lim ? (test ? 15 : 13) : (test ? 14 : 12);

        throw UE(m);
    }

    // ********************************************************************************************
    // Class Torello.Java.URLs
    // Rearrage "Method Summary" Section on JavaDoc HTML Page
    // ********************************************************************************************

    public static final String[] URLs$M$Sections =
    {
        "Fun with URL Escape",
        "Remove Partial URLs",
        "Remove Duplicate URL's from a List",
        "URL to String",
        "Java URL Object Help"
    };

    public static int URLs$M$Sorter(Method m)
    {
        if (m.name.startsWith("toProperURL"))       return 0;
        if (m.name.startsWith("shortenPoundREF"))   return 1;
        if (m.name.startsWith("removeDuplicate"))   return 2;
        if (m.name.equals("urlToString"))           return 3;
        if (m.name.equals("javaURLHelpMessage"))    return 4;
        throw UE(m);
    }


    // ********************************************************************************************
    // ********************************************************************************************
    // Exceptions
    // ********************************************************************************************
    // ********************************************************************************************


    public static final String[] CallableBodyException$F$Sections = ONLY_SERIALIZABLE_F;
    public static int CallableBodyException$F$Sorter(Field f) { return ONLY_SERIALIZABLE_F(f); }

    public static final String[] DirExpectedException$F$Sections = EXCEPTION_CONVENIENCE_F;
    public static int DirExpectedException$F$Sorter(Field f) { return EXCEPTION_CONVENIENCE_F(f); }

    public static final String[] FileExpectedException$F$Sections = EXCEPTION_CONVENIENCE_F;
    public static int FileExpectedException$F$Sorter(Field f) { return EXCEPTION_CONVENIENCE_F(f); }

    public static final String[] FileSizeException$F$Sections = EXCEPTION_CONVENIENCE_F;
    public static int FileSizeException$F$Sorter(Field f) { return EXCEPTION_CONVENIENCE_F(f); }

    public static final String[] NException$F$Sections = ONLY_SERIALIZABLE_F;
    public static int NException$F$Sorter(Field f) { return ONLY_SERIALIZABLE_F(f); }

    public static final String[] NoMatchException$F$Sections = ONLY_SERIALIZABLE_F;
    public static int NoMatchException$F$Sorter(Field f) { return ONLY_SERIALIZABLE_F(f); }

    public static final String[] ParallelArrayException$F$Sections = ONLY_SERIALIZABLE_F;
    public static int ParallelArrayException$F$Sorter(Field f) { return ONLY_SERIALIZABLE_F(f); }

    public static final String[] RegExException$F$Sections = ONLY_SERIALIZABLE_F;
    public static int RegExException$F$Sorter(Field f) { return ONLY_SERIALIZABLE_F(f); }

    public static final String[] SameSourceAndTargetException$F$Sections = ONLY_SERIALIZABLE_F;
    public static int SameSourceAndTargetException$F$Sorter(Field f) { return ONLY_SERIALIZABLE_F(f); }

    public static final String[] StrCmprException$F$Sections = EXCEPTION_CONVENIENCE_F;
    public static int StrCmprException$F$Sorter(Field f) { return EXCEPTION_CONVENIENCE_F(f); }

    public static final String[] StringFormatException$F$Sections = ONLY_SERIALIZABLE_F;
    public static int StringFormatException$F$Sorter(Field f) { return ONLY_SERIALIZABLE_F(f); }

    public static final String[] ToDoException$F$Sections = ONLY_SERIALIZABLE_F;
    public static int ToDoException$F$Sorter(Field f) { return ONLY_SERIALIZABLE_F(f); }

    public static final String[] VarTypeParamException$F$Sections = ONLY_SERIALIZABLE_F;
    public static int VarTypeParamException$F$Sorter(Field f) { return ONLY_SERIALIZABLE_F(f); }


    public static final String[] WritableDirectoryException$F$Sections =
    { SERIALIZABLE_F, "Customizable Boolean Flag" };

    public static int WritableDirectoryException$F$Sorter(Field f)
    {
        if (SERIALIZABLE_F(f))                              return 0;
        if (f.name.equals("THROW_ON_ZERO_LENGTH_STRING"))   return 1;
        throw UE(f);
    }


    // ********************************************************************************************
    // ********************************************************************************************
    // The Exceptions with 'check' methods
    // ********************************************************************************************
    // ********************************************************************************************


    public static final String[] DirExpectedException$M$Sections = EXCEPTION_CHECKERS_M;
    public static int DirExpectedException$M$Sorter(Method m) { return EXCEPTION_CHECKERS_M(m); }

    public static final String[] FileExpectedException$M$Sections = EXCEPTION_CHECKERS_M;
    public static int FileExpectedException$M$Sorter(Method m) { return EXCEPTION_CHECKERS_M(m); }

    public static final String[] NException$M$Sections = EXCEPTION_CHECKERS_M;
    public static int NException$M$Sorter(Method m) { return EXCEPTION_CHECKERS_M(m); }

    public static final String[] ParallelArrayException$M$Sections = EXCEPTION_CHECKERS_M;
    public static int ParallelArrayException$M$Sorter(Method m) { return EXCEPTION_CHECKERS_M(m); }

    public static final String[] SameSourceAndTargetException$M$Sections = EXCEPTION_CHECKERS_M;
    public static int SameSourceAndTargetException$M$Sorter(Method m) { return EXCEPTION_CHECKERS_M(m); }

    public static final String[] StrCmprException$M$Sections = EXCEPTION_CHECKERS_M;
    public static int StrCmprException$M$Sorter(Method m) { return EXCEPTION_CHECKERS_M(m); }

    public static final String[] WritableDirectoryException$M$Sections = EXCEPTION_CHECKERS_M;
    public static int WritableDirectoryException$M$Sorter(Method m) { return EXCEPTION_CHECKERS_M(m); }


    // ********************************************************************************************
    // ********************************************************************************************
    // The enum's
    // ********************************************************************************************
    // ********************************************************************************************


    public static final String[] Country$M$Sections = enum$M$Sections;

    public static int Country$M$Sorter(Method m) { return enum$M$Sorter(m); }


    // ********************************************************************************************
    // ********************************************************************************************
    // Functional Interfaces
    // ********************************************************************************************
    // ********************************************************************************************


    public static final String[] IOExceptionHandler$M$Sections = fInterface$M$Sections;

    public static final int IOExceptionHandler$M$Sorter (Method m)
    { return fInterface$M$Sorter("accept", m); }

    public static final String[] FileNodeFilter$M$Sections =
    { FINTERFACE_M, STATIC_FACTORY, DEFAULT_COMP, DEF_ITER_REMOVE };

    public static final int FileNodeFilter$M$Sorter(Method m)
    {
        if (m.name.equals("test"))                              return 0;
        if (m.name.equals("fromStrFilter"))                     return 1;
        if (StrCmpr.equalsXOR(m.name, "and", "or", "negate"))   return 2;
        if (m.name.equals("filter"))                            return 3;
        throw UE(m);
    }

    public static final String[] StrFilter$M$Sections =
    { 
        FINTERFACE_M,
        STATIC_FACTORY + " using TextComparitor",
        STATIC_FACTORY + " using Regular-Expressions",
        STATIC_FACTORY + ", White-List Strings",
        STATIC_FACTORY + ", Black-List Strings",
        STATIC_FACTORY + ", String-Equality",
        "Generic Erasure Hack"
    };

    public static final int StrFilter$M$Sorter(Method m)
    {
        if (m.name.equals("test"))              return 0;
        if (m.name.equals("comparitor"))        return 1;
        if (m.name.startsWith("regEx"))         return 2;
        if (m.name.startsWith("strListKEEP"))   return 3;
        if (m.name.startsWith("strListREJECT")) return 4;
        if (m.name.startsWith("isEqual"))       return 5;
        if (m.name.equals("castToStrPred"))     return 6;
        throw UE(m);
    }
}