public final class com.oracle.truffle.js.runtime.util.IteratorUtil
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.oracle.truffle.js.runtime.util.IteratorUtil
  super_class: java.lang.Object
{
  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.js.runtime.util.IteratorUtil this
         0: .line 57
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 59
            return
        end local 0 // com.oracle.truffle.js.runtime.util.IteratorUtil this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/js/runtime/util/IteratorUtil;

  public static <S, T> java.lang.Iterable<T> convertIterable(java.lang.Iterable<S>, java.util.function.Function<S, T>);
    descriptor: (Ljava/lang/Iterable;Ljava/util/function/Function;)Ljava/lang/Iterable;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // java.lang.Iterable source
        start local 1 // java.util.function.Function converter
         0: .line 62
            new com.oracle.truffle.js.runtime.util.IteratorUtil$ConvertIterable
            dup
            aload 0 /* source */
            aload 1 /* converter */
            invokespecial com.oracle.truffle.js.runtime.util.IteratorUtil$ConvertIterable.<init>:(Ljava/lang/Iterable;Ljava/util/function/Function;)V
            areturn
        end local 1 // java.util.function.Function converter
        end local 0 // java.lang.Iterable source
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0     source  Ljava/lang/Iterable<TS;>;
            0    1     1  converter  Ljava/util/function/Function<TS;TT;>;
    Signature: <S:Ljava/lang/Object;T:Ljava/lang/Object;>(Ljava/lang/Iterable<TS;>;Ljava/util/function/Function<TS;TT;>;)Ljava/lang/Iterable<TT;>;
    MethodParameters:
           Name  Flags
      source     final
      converter  final

  public static <S, T> java.util.Iterator<T> convertIterator(java.util.Iterator<S>, java.util.function.Function<S, T>);
    descriptor: (Ljava/util/Iterator;Ljava/util/function/Function;)Ljava/util/Iterator;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // java.util.Iterator source
        start local 1 // java.util.function.Function converter
         0: .line 66
            new com.oracle.truffle.js.runtime.util.IteratorUtil$ConvertIterator
            dup
            aload 0 /* source */
            aload 1 /* converter */
            invokespecial com.oracle.truffle.js.runtime.util.IteratorUtil$ConvertIterator.<init>:(Ljava/util/Iterator;Ljava/util/function/Function;)V
            areturn
        end local 1 // java.util.function.Function converter
        end local 0 // java.util.Iterator source
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0     source  Ljava/util/Iterator<TS;>;
            0    1     1  converter  Ljava/util/function/Function<TS;TT;>;
    Signature: <S:Ljava/lang/Object;T:Ljava/lang/Object;>(Ljava/util/Iterator<TS;>;Ljava/util/function/Function<TS;TT;>;)Ljava/util/Iterator<TT;>;
    MethodParameters:
           Name  Flags
      source     final
      converter  final

  public static <S, T> java.util.List<T> convertList(java.util.List<S>, java.util.function.Function<S, T>);
    descriptor: (Ljava/util/List;Ljava/util/function/Function;)Ljava/util/List;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // java.util.List source
        start local 1 // java.util.function.Function converter
         0: .line 70
            new com.oracle.truffle.js.runtime.util.IteratorUtil$ConvertList
            dup
            aload 0 /* source */
            aload 1 /* converter */
            invokespecial com.oracle.truffle.js.runtime.util.IteratorUtil$ConvertList.<init>:(Ljava/util/List;Ljava/util/function/Function;)V
            areturn
        end local 1 // java.util.function.Function converter
        end local 0 // java.util.List source
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0     source  Ljava/util/List<TS;>;
            0    1     1  converter  Ljava/util/function/Function<TS;TT;>;
    Signature: <S:Ljava/lang/Object;T:Ljava/lang/Object;>(Ljava/util/List<TS;>;Ljava/util/function/Function<TS;TT;>;)Ljava/util/List<TT;>;
    MethodParameters:
           Name  Flags
      source     final
      converter  final

  public static <T> java.lang.Iterable<T> concatIterables(java.lang.Iterable<T>, java.lang.Iterable<T>);
    descriptor: (Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/lang/Iterable;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // java.lang.Iterable first
        start local 1 // java.lang.Iterable second
         0: .line 134
            new com.oracle.truffle.js.runtime.util.IteratorUtil$1
            dup
            aload 0 /* first */
            aload 1 /* second */
            invokespecial com.oracle.truffle.js.runtime.util.IteratorUtil$1.<init>:(Ljava/lang/Iterable;Ljava/lang/Iterable;)V
            areturn
        end local 1 // java.lang.Iterable second
        end local 0 // java.lang.Iterable first
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0   first  Ljava/lang/Iterable<TT;>;
            0    1     1  second  Ljava/lang/Iterable<TT;>;
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;Ljava/lang/Iterable<TT;>;)Ljava/lang/Iterable<TT;>;
    MethodParameters:
        Name  Flags
      first   final
      second  final

  public static <T> java.util.List<T> concatLists(java.util.List<T>, java.util.List<T>);
    descriptor: (Ljava/util/List;Ljava/util/List;)Ljava/util/List;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=5, args_size=2
        start local 0 // java.util.List list0
        start local 1 // java.util.List list1
         0: .line 162
            aload 0 /* list0 */
            invokeinterface java.util.List.size:()I
            istore 2 /* size0 */
        start local 2 // int size0
         1: .line 163
            aload 1 /* list1 */
            invokeinterface java.util.List.size:()I
            istore 3 /* size1 */
        start local 3 // int size1
         2: .line 164
            iload 2 /* size0 */
            iload 3 /* size1 */
            iadd
            istore 4 /* size */
        start local 4 // int size
         3: .line 165
            iload 4 /* size */
            ifge 5
         4: .line 167
            invokestatic com.oracle.truffle.js.runtime.Errors.createRangeErrorInvalidArrayLength:()Lcom/oracle/truffle/js/runtime/JSException;
            athrow
         5: .line 169
      StackMap locals: int int int
      StackMap stack:
            iload 2 /* size0 */
            ifne 7
         6: .line 170
            aload 1 /* list1 */
            areturn
         7: .line 171
      StackMap locals:
      StackMap stack:
            iload 3 /* size1 */
            ifne 9
         8: .line 172
            aload 0 /* list0 */
            areturn
         9: .line 174
      StackMap locals:
      StackMap stack:
            new com.oracle.truffle.js.runtime.util.IteratorUtil$2
            dup
            iload 2 /* size0 */
            aload 0 /* list0 */
            iload 4 /* size */
            aload 1 /* list1 */
            invokespecial com.oracle.truffle.js.runtime.util.IteratorUtil$2.<init>:(ILjava/util/List;ILjava/util/List;)V
            areturn
        end local 4 // int size
        end local 3 // int size1
        end local 2 // int size0
        end local 1 // java.util.List list1
        end local 0 // java.util.List list0
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   10     0  list0  Ljava/util/List<TT;>;
            0   10     1  list1  Ljava/util/List<TT;>;
            1   10     2  size0  I
            2   10     3  size1  I
            3   10     4   size  I
    Signature: <T:Ljava/lang/Object;>(Ljava/util/List<TT;>;Ljava/util/List<TT;>;)Ljava/util/List<TT;>;
    MethodParameters:
       Name  Flags
      list0  final
      list1  final

  public static <T> java.lang.Iterable<T> concatIterablesDistinct(java.lang.Iterable<T>, java.lang.Iterable<T>, java.util.function.BiPredicate<T, T>);
    descriptor: (Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/util/function/BiPredicate;)Ljava/lang/Iterable;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // java.lang.Iterable first
        start local 1 // java.lang.Iterable second
        start local 2 // java.util.function.BiPredicate comparator
         0: .line 198
            aload 1 /* second */
            invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         1: .line 199
            aload 0 /* first */
            areturn
         2: .line 201
      StackMap locals:
      StackMap stack:
            new com.oracle.truffle.js.runtime.util.IteratorUtil$DistinctConcatIterable
            dup
            aload 0 /* first */
            aload 1 /* second */
            aload 2 /* comparator */
            invokespecial com.oracle.truffle.js.runtime.util.IteratorUtil$DistinctConcatIterable.<init>:(Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/util/function/BiPredicate;)V
            areturn
        end local 2 // java.util.function.BiPredicate comparator
        end local 1 // java.lang.Iterable second
        end local 0 // java.lang.Iterable first
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    3     0       first  Ljava/lang/Iterable<TT;>;
            0    3     1      second  Ljava/lang/Iterable<TT;>;
            0    3     2  comparator  Ljava/util/function/BiPredicate<TT;TT;>;
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;Ljava/lang/Iterable<TT;>;Ljava/util/function/BiPredicate<TT;TT;>;)Ljava/lang/Iterable<TT;>;
    MethodParameters:
            Name  Flags
      first       final
      second      final
      comparator  final

  public static <T> java.lang.Iterable<T> filterIterable(java.lang.Iterable<T>, java.util.function.Predicate<T>);
    descriptor: (Ljava/lang/Iterable;Ljava/util/function/Predicate;)Ljava/lang/Iterable;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.lang.Iterable iterable
        start local 1 // java.util.function.Predicate filter
         0: .line 262
            aload 0 /* iterable */
            aload 1 /* filter */
            invokedynamic iterator(Ljava/lang/Iterable;Ljava/util/function/Predicate;)Ljava/lang/Iterable;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/util/Iterator;
                  com/oracle/truffle/js/runtime/util/IteratorUtil.lambda$0(Ljava/lang/Iterable;Ljava/util/function/Predicate;)Ljava/util/Iterator; (6)
                  ()Ljava/util/Iterator;
            areturn
        end local 1 // java.util.function.Predicate filter
        end local 0 // java.lang.Iterable iterable
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0  iterable  Ljava/lang/Iterable<TT;>;
            0    1     1    filter  Ljava/util/function/Predicate<TT;>;
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;Ljava/util/function/Predicate<TT;>;)Ljava/lang/Iterable<TT;>;
    MethodParameters:
          Name  Flags
      iterable  final
      filter    final

  public static <T> java.util.Iterator<T> filterIterator(java.util.Iterator<T>, java.util.function.Predicate<T>);
    descriptor: (Ljava/util/Iterator;Ljava/util/function/Predicate;)Ljava/util/Iterator;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // java.util.Iterator iterator
        start local 1 // java.util.function.Predicate filter
         0: .line 266
            new com.oracle.truffle.js.runtime.util.IteratorUtil$FilteredIterator
            dup
            aload 0 /* iterator */
            aload 1 /* filter */
            invokespecial com.oracle.truffle.js.runtime.util.IteratorUtil$FilteredIterator.<init>:(Ljava/util/Iterator;Ljava/util/function/Predicate;)V
            areturn
        end local 1 // java.util.function.Predicate filter
        end local 0 // java.util.Iterator iterator
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0  iterator  Ljava/util/Iterator<TT;>;
            0    1     1    filter  Ljava/util/function/Predicate<TT;>;
    Signature: <T:Ljava/lang/Object;>(Ljava/util/Iterator<TT;>;Ljava/util/function/Predicate<TT;>;)Ljava/util/Iterator<TT;>;
    MethodParameters:
          Name  Flags
      iterator  final
      filter    final

  public static <T> java.util.Iterator<T> simpleArrayIterator(T[]);
    descriptor: ([Ljava/lang/Object;)Ljava/util/Iterator;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.Object[] array
         0: .line 314
            new com.oracle.truffle.js.runtime.util.IteratorUtil$3
            dup
            aload 0 /* array */
            invokespecial com.oracle.truffle.js.runtime.util.IteratorUtil$3.<init>:([Ljava/lang/Object;)V
            areturn
        end local 0 // java.lang.Object[] array
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0  array  [Ljava/lang/Object;
    Signature: <T:Ljava/lang/Object;>([TT;)Ljava/util/Iterator<TT;>;
    MethodParameters:
       Name  Flags
      array  

  public static <T> java.util.Iterator<T> simpleListIterator(java.util.List<T>);
    descriptor: (Ljava/util/List;)Ljava/util/Iterator;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.util.List list
         0: .line 336
            new com.oracle.truffle.js.runtime.util.IteratorUtil$4
            dup
            aload 0 /* list */
            invokespecial com.oracle.truffle.js.runtime.util.IteratorUtil$4.<init>:(Ljava/util/List;)V
            areturn
        end local 0 // java.util.List list
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  list  Ljava/util/List<TT;>;
    Signature: <T:Ljava/lang/Object;>(Ljava/util/List<TT;>;)Ljava/util/Iterator<TT;>;
    MethodParameters:
      Name  Flags
      list  

  public static java.util.Iterator<java.lang.Integer> rangeIterator(int);
    descriptor: (I)Ljava/util/Iterator;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // int length
         0: .line 355
            new com.oracle.truffle.js.runtime.util.IteratorUtil$RangeIterator
            dup
            iload 0 /* length */
            invokespecial com.oracle.truffle.js.runtime.util.IteratorUtil$RangeIterator.<init>:(I)V
            areturn
        end local 0 // int length
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0  length  I
    Signature: (I)Ljava/util/Iterator<Ljava/lang/Integer;>;
    MethodParameters:
        Name  Flags
      length  

  public static java.lang.Iterable<java.lang.Integer> rangeIterable(int);
    descriptor: (I)Ljava/lang/Iterable;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // int length
         0: .line 359
            iload 0 /* length */
            invokedynamic iterator(I)Ljava/lang/Iterable;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/util/Iterator;
                  com/oracle/truffle/js/runtime/util/IteratorUtil.lambda$1(I)Ljava/util/Iterator; (6)
                  ()Ljava/util/Iterator;
            areturn
        end local 0 // int length
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0  length  I
    Signature: (I)Ljava/lang/Iterable<Ljava/lang/Integer;>;
    MethodParameters:
        Name  Flags
      length  

  private static java.util.Iterator lambda$0(java.lang.Iterable, java.util.function.Predicate);
    descriptor: (Ljava/lang/Iterable;Ljava/util/function/Predicate;)Ljava/util/Iterator;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 262
            aload 0
            invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
            aload 1
            invokestatic com.oracle.truffle.js.runtime.util.IteratorUtil.filterIterator:(Ljava/util/Iterator;Ljava/util/function/Predicate;)Ljava/util/Iterator;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.util.Iterator lambda$1(int);
    descriptor: (I)Ljava/util/Iterator;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 359
            iload 0
            invokestatic com.oracle.truffle.js.runtime.util.IteratorUtil.rangeIterator:(I)Ljava/util/Iterator;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "IteratorUtil.java"
NestMembers:
  com.oracle.truffle.js.runtime.util.IteratorUtil$1  com.oracle.truffle.js.runtime.util.IteratorUtil$1$1  com.oracle.truffle.js.runtime.util.IteratorUtil$2  com.oracle.truffle.js.runtime.util.IteratorUtil$3  com.oracle.truffle.js.runtime.util.IteratorUtil$4  com.oracle.truffle.js.runtime.util.IteratorUtil$ConvertIterable  com.oracle.truffle.js.runtime.util.IteratorUtil$ConvertIterator  com.oracle.truffle.js.runtime.util.IteratorUtil$ConvertList  com.oracle.truffle.js.runtime.util.IteratorUtil$DistinctConcatIterable  com.oracle.truffle.js.runtime.util.IteratorUtil$DistinctConcatIterable$DistinctConcatIterator  com.oracle.truffle.js.runtime.util.IteratorUtil$FilteredIterator  com.oracle.truffle.js.runtime.util.IteratorUtil$RangeIterator
InnerClasses:
  com.oracle.truffle.js.runtime.util.IteratorUtil$1
  com.oracle.truffle.js.runtime.util.IteratorUtil$2
  com.oracle.truffle.js.runtime.util.IteratorUtil$3
  com.oracle.truffle.js.runtime.util.IteratorUtil$4
  private final ConvertIterable = com.oracle.truffle.js.runtime.util.IteratorUtil$ConvertIterable of com.oracle.truffle.js.runtime.util.IteratorUtil
  private final ConvertIterator = com.oracle.truffle.js.runtime.util.IteratorUtil$ConvertIterator of com.oracle.truffle.js.runtime.util.IteratorUtil
  private final ConvertList = com.oracle.truffle.js.runtime.util.IteratorUtil$ConvertList of com.oracle.truffle.js.runtime.util.IteratorUtil
  private final DistinctConcatIterable = com.oracle.truffle.js.runtime.util.IteratorUtil$DistinctConcatIterable of com.oracle.truffle.js.runtime.util.IteratorUtil
  private final FilteredIterator = com.oracle.truffle.js.runtime.util.IteratorUtil$FilteredIterator of com.oracle.truffle.js.runtime.util.IteratorUtil
  private final RangeIterator = com.oracle.truffle.js.runtime.util.IteratorUtil$RangeIterator of com.oracle.truffle.js.runtime.util.IteratorUtil
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles