public class org.antlr.v4.misc.Utils
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.antlr.v4.misc.Utils
  super_class: java.lang.Object
{
  public static final int INTEGER_POOL_MAX_VALUE;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 1000

  static java.lang.Integer[] ints;
    descriptor: [Ljava/lang/Integer;
    flags: (0x0008) ACC_STATIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 31
            sipush 1001
            anewarray java.lang.Integer
            putstatic org.antlr.v4.misc.Utils.ints:[Ljava/lang/Integer;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.antlr.v4.misc.Utils this
         0: .line 16
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.antlr.v4.misc.Utils this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/antlr/v4/misc/Utils;

  public static java.lang.String stripFileExtension(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.lang.String name
         0: .line 34
            aload 0 /* name */
            ifnonnull 1
            aconst_null
            areturn
         1: .line 35
      StackMap locals:
      StackMap stack:
            aload 0 /* name */
            bipush 46
            invokevirtual java.lang.String.lastIndexOf:(I)I
            istore 1 /* lastDot */
        start local 1 // int lastDot
         2: .line 36
            iload 1 /* lastDot */
            ifge 3
            aload 0 /* name */
            areturn
         3: .line 37
      StackMap locals: int
      StackMap stack:
            aload 0 /* name */
            iconst_0
            iload 1 /* lastDot */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            areturn
        end local 1 // int lastDot
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     name  Ljava/lang/String;
            2    4     1  lastDot  I
    MethodParameters:
      Name  Flags
      name  

  public static java.lang.String join(java.lang.Object[], java.lang.String);
    descriptor: ([Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // java.lang.Object[] a
        start local 1 // java.lang.String separator
         0: .line 41
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 2 /* buf */
        start local 2 // java.lang.StringBuilder buf
         1: .line 42
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         2: goto 8
         3: .line 43
      StackMap locals: java.lang.StringBuilder int
      StackMap stack:
            aload 0 /* a */
            iload 3 /* i */
            aaload
            astore 4 /* o */
        start local 4 // java.lang.Object o
         4: .line 44
            aload 2 /* buf */
            aload 4 /* o */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         5: .line 45
            iload 3 /* i */
            iconst_1
            iadd
            aload 0 /* a */
            arraylength
            if_icmpge 7
         6: .line 46
            aload 2 /* buf */
            aload 1 /* separator */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        end local 4 // java.lang.Object o
         7: .line 42
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         8: iload 3 /* i */
            aload 0 /* a */
            arraylength
            if_icmplt 3
        end local 3 // int i
         9: .line 49
            aload 2 /* buf */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 2 // java.lang.StringBuilder buf
        end local 1 // java.lang.String separator
        end local 0 // java.lang.Object[] a
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   10     0          a  [Ljava/lang/Object;
            0   10     1  separator  Ljava/lang/String;
            1   10     2        buf  Ljava/lang/StringBuilder;
            2    9     3          i  I
            4    7     4          o  Ljava/lang/Object;
    MethodParameters:
           Name  Flags
      a          
      separator  

  public static java.lang.String sortLinesInString(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=6, args_size=1
        start local 0 // java.lang.String s
         0: .line 53
            aload 0 /* s */
            ldc "\n"
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            astore 1 /* lines */
        start local 1 // java.lang.String[] lines
         1: .line 54
            aload 1 /* lines */
            invokestatic java.util.Arrays.sort:([Ljava/lang/Object;)V
         2: .line 55
            aload 1 /* lines */
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            astore 2 /* linesL */
        start local 2 // java.util.List linesL
         3: .line 56
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 3 /* buf */
        start local 3 // java.lang.StringBuilder buf
         4: .line 57
            aload 2 /* linesL */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 5
            goto 8
      StackMap locals: java.lang.String java.lang.String[] java.util.List java.lang.StringBuilder top java.util.Iterator
      StackMap stack:
         5: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 4 /* l */
        start local 4 // java.lang.String l
         6: .line 58
            aload 3 /* buf */
            aload 4 /* l */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         7: .line 59
            aload 3 /* buf */
            bipush 10
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        end local 4 // java.lang.String l
         8: .line 57
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 5
         9: .line 61
            aload 3 /* buf */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 3 // java.lang.StringBuilder buf
        end local 2 // java.util.List linesL
        end local 1 // java.lang.String[] lines
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0       s  Ljava/lang/String;
            1   10     1   lines  [Ljava/lang/String;
            3   10     2  linesL  Ljava/util/List<Ljava/lang/String;>;
            4   10     3     buf  Ljava/lang/StringBuilder;
            6    8     4       l  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      s     

  public static <T extends org.antlr.v4.tool.ast.GrammarAST> java.util.List<java.lang.String> nodesToStrings(java.util.List<T>);
    descriptor: (Ljava/util/List;)Ljava/util/List;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // java.util.List nodes
         0: .line 65
            aload 0 /* nodes */
            ifnonnull 1
            aconst_null
            areturn
         1: .line 66
      StackMap locals:
      StackMap stack:
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* a */
        start local 1 // java.util.List a
         2: .line 67
            aload 0 /* nodes */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 5
      StackMap locals: java.util.List java.util.List top java.util.Iterator
      StackMap stack:
         3: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.antlr.v4.tool.ast.GrammarAST
            astore 2 /* t */
        start local 2 // org.antlr.v4.tool.ast.GrammarAST t
         4: aload 1 /* a */
            aload 2 /* t */
            invokevirtual org.antlr.v4.tool.ast.GrammarAST.getText:()Ljava/lang/String;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 2 // org.antlr.v4.tool.ast.GrammarAST t
      StackMap locals:
      StackMap stack:
         5: aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         6: .line 68
            aload 1 /* a */
            areturn
        end local 1 // java.util.List a
        end local 0 // java.util.List nodes
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    7     0  nodes  Ljava/util/List<TT;>;
            2    7     1      a  Ljava/util/List<Ljava/lang/String;>;
            4    5     2      t  TT;
    Signature: <T:Lorg/antlr/v4/tool/ast/GrammarAST;>(Ljava/util/List<TT;>;)Ljava/util/List<Ljava/lang/String;>;
    MethodParameters:
       Name  Flags
      nodes  

  public static java.lang.String capitalize(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.lang.String s
         0: .line 80
            new java.lang.StringBuilder
            dup
            aload 0 /* s */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            invokestatic java.lang.Character.toUpperCase:(C)C
            invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* s */
            iconst_1
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     s  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      s     

  public static java.lang.String decapitalize(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.lang.String s
         0: .line 84
            new java.lang.StringBuilder
            dup
            aload 0 /* s */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            invokestatic java.lang.Character.toLowerCase:(C)C
            invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* s */
            iconst_1
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     s  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      s     

  public static <From, To> java.util.List<To> select(java.util.List<From>, org.antlr.v4.misc.Utils$Func1<From, To>);
    descriptor: (Ljava/util/List;Lorg/antlr/v4/misc/Utils$Func1;)Ljava/util/List;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // java.util.List list
        start local 1 // org.antlr.v4.misc.Utils$Func1 selector
         0: .line 91
            aload 0 /* list */
            ifnonnull 1
            aconst_null
            areturn
         1: .line 92
      StackMap locals:
      StackMap stack:
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 2 /* b */
        start local 2 // java.util.List b
         2: .line 93
            aload 0 /* list */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 5
      StackMap locals: java.util.List org.antlr.v4.misc.Utils$Func1 java.util.List top java.util.Iterator
      StackMap stack:
         3: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.Object
            astore 3 /* f */
        start local 3 // java.lang.Object f
         4: .line 94
            aload 2 /* b */
            aload 1 /* selector */
            aload 3 /* f */
            invokeinterface org.antlr.v4.misc.Utils$Func1.exec:(Ljava/lang/Object;)Ljava/lang/Object;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 3 // java.lang.Object f
         5: .line 93
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         6: .line 96
            aload 2 /* b */
            areturn
        end local 2 // java.util.List b
        end local 1 // org.antlr.v4.misc.Utils$Func1 selector
        end local 0 // java.util.List list
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0      list  Ljava/util/List<TFrom;>;
            0    7     1  selector  Lorg/antlr/v4/misc/Utils$Func1<TFrom;TTo;>;
            2    7     2         b  Ljava/util/List<TTo;>;
            4    5     3         f  TFrom;
    Signature: <From:Ljava/lang/Object;To:Ljava/lang/Object;>(Ljava/util/List<TFrom;>;Lorg/antlr/v4/misc/Utils$Func1<TFrom;TTo;>;)Ljava/util/List<TTo;>;
    MethodParameters:
          Name  Flags
      list      
      selector  

  public static <T> T find(java.util.List<?>, java.lang.Class<T>);
    descriptor: (Ljava/util/List;Ljava/lang/Class;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // java.util.List ops
        start local 1 // java.lang.Class cl
         0: .line 101
            aload 0 /* ops */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 3
      StackMap locals: java.util.List java.lang.Class top java.util.Iterator
      StackMap stack:
         1: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            astore 2 /* o */
        start local 2 // java.lang.Object o
         2: .line 102
            aload 1 /* cl */
            aload 2 /* o */
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifeq 3
            aload 1 /* cl */
            aload 2 /* o */
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            areturn
        end local 2 // java.lang.Object o
         3: .line 101
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         4: .line 105
            aconst_null
            areturn
        end local 1 // java.lang.Class cl
        end local 0 // java.util.List ops
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0   ops  Ljava/util/List<*>;
            0    5     1    cl  Ljava/lang/Class<TT;>;
            2    3     2     o  Ljava/lang/Object;
    Signature: <T:Ljava/lang/Object;>(Ljava/util/List<*>;Ljava/lang/Class<TT;>;)TT;
    MethodParameters:
      Name  Flags
      ops   
      cl    

  public static <T> int indexOf(java.util.List<? extends T>, org.antlr.v4.misc.Utils$Filter<T>);
    descriptor: (Ljava/util/List;Lorg/antlr/v4/misc/Utils$Filter;)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // java.util.List elems
        start local 1 // org.antlr.v4.misc.Utils$Filter filter
         0: .line 109
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         1: goto 4
         2: .line 110
      StackMap locals: int
      StackMap stack:
            aload 1 /* filter */
            aload 0 /* elems */
            iload 2 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            invokeinterface org.antlr.v4.misc.Utils$Filter.select:(Ljava/lang/Object;)Z
            ifeq 3
            iload 2 /* i */
            ireturn
         3: .line 109
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
         4: iload 2 /* i */
            aload 0 /* elems */
            invokeinterface java.util.List.size:()I
            if_icmplt 2
        end local 2 // int i
         5: .line 112
            iconst_m1
            ireturn
        end local 1 // org.antlr.v4.misc.Utils$Filter filter
        end local 0 // java.util.List elems
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0   elems  Ljava/util/List<+TT;>;
            0    6     1  filter  Lorg/antlr/v4/misc/Utils$Filter<TT;>;
            1    5     2       i  I
    Signature: <T:Ljava/lang/Object;>(Ljava/util/List<+TT;>;Lorg/antlr/v4/misc/Utils$Filter<TT;>;)I
    MethodParameters:
        Name  Flags
      elems   
      filter  

  public static <T> int lastIndexOf(java.util.List<? extends T>, org.antlr.v4.misc.Utils$Filter<T>);
    descriptor: (Ljava/util/List;Lorg/antlr/v4/misc/Utils$Filter;)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // java.util.List elems
        start local 1 // org.antlr.v4.misc.Utils$Filter filter
         0: .line 116
            aload 0 /* elems */
            invokeinterface java.util.List.size:()I
            iconst_1
            isub
            istore 2 /* i */
        start local 2 // int i
         1: goto 4
         2: .line 117
      StackMap locals: int
      StackMap stack:
            aload 1 /* filter */
            aload 0 /* elems */
            iload 2 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            invokeinterface org.antlr.v4.misc.Utils$Filter.select:(Ljava/lang/Object;)Z
            ifeq 3
            iload 2 /* i */
            ireturn
         3: .line 116
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ -1
      StackMap locals:
      StackMap stack:
         4: iload 2 /* i */
            ifge 2
        end local 2 // int i
         5: .line 119
            iconst_m1
            ireturn
        end local 1 // org.antlr.v4.misc.Utils$Filter filter
        end local 0 // java.util.List elems
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0   elems  Ljava/util/List<+TT;>;
            0    6     1  filter  Lorg/antlr/v4/misc/Utils$Filter<TT;>;
            1    5     2       i  I
    Signature: <T:Ljava/lang/Object;>(Ljava/util/List<+TT;>;Lorg/antlr/v4/misc/Utils$Filter<TT;>;)I
    MethodParameters:
        Name  Flags
      elems   
      filter  

  public static void setSize(java.util.List<?>, );
    descriptor: (Ljava/util/List;I)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.util.List list
        start local 1 // int size
         0: .line 123
            iload 1 /* size */
            aload 0 /* list */
            invokeinterface java.util.List.size:()I
            if_icmpge 4
         1: .line 124
            aload 0 /* list */
            iload 1 /* size */
            aload 0 /* list */
            invokeinterface java.util.List.size:()I
            invokeinterface java.util.List.subList:(II)Ljava/util/List;
            invokeinterface java.util.List.clear:()V
         2: .line 125
            goto 5
         3: .line 128
      StackMap locals:
      StackMap stack:
            aload 0 /* list */
            aconst_null
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         4: .line 127
      StackMap locals:
      StackMap stack:
            iload 1 /* size */
            aload 0 /* list */
            invokeinterface java.util.List.size:()I
            if_icmpgt 3
         5: .line 131
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int size
        end local 0 // java.util.List list
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  list  Ljava/util/List<*>;
            0    6     1  size  I
    Signature: (Ljava/util/List<*>;I)V
    MethodParameters:
      Name  Flags
      list  
      size  
}
SourceFile: "Utils.java"
NestMembers:
  org.antlr.v4.misc.Utils$Filter  org.antlr.v4.misc.Utils$Func0  org.antlr.v4.misc.Utils$Func1
InnerClasses:
  public abstract Filter = org.antlr.v4.misc.Utils$Filter of org.antlr.v4.misc.Utils
  public abstract Func0 = org.antlr.v4.misc.Utils$Func0 of org.antlr.v4.misc.Utils
  public abstract Func1 = org.antlr.v4.misc.Utils$Func1 of org.antlr.v4.misc.Utils