final class java.util.ServiceLoader$LayerLookupIterator<T> implements java.util.Iterator<java.util.ServiceLoader$Provider<T>>
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: java.util.ServiceLoader$LayerLookupIterator
  super_class: java.lang.Object
{
  java.util.Deque<java.lang.ModuleLayer> stack;
    descriptor: Ljava/util/Deque;
    flags: (0x0000) 
    Signature: Ljava/util/Deque<Ljava/lang/ModuleLayer;>;

  java.util.Set<java.lang.ModuleLayer> visited;
    descriptor: Ljava/util/Set;
    flags: (0x0000) 
    Signature: Ljava/util/Set<Ljava/lang/ModuleLayer;>;

  java.util.Iterator<jdk.internal.module.ServicesCatalog$ServiceProvider> iterator;
    descriptor: Ljava/util/Iterator;
    flags: (0x0000) 
    Signature: Ljava/util/Iterator<Ljdk/internal/module/ServicesCatalog$ServiceProvider;>;

  java.util.ServiceLoader$Provider<T> nextProvider;
    descriptor: Ljava/util/ServiceLoader$Provider;
    flags: (0x0000) 
    Signature: Ljava/util/ServiceLoader$Provider<TT;>;

  java.util.ServiceConfigurationError nextError;
    descriptor: Ljava/util/ServiceConfigurationError;
    flags: (0x0000) 

  final java.util.ServiceLoader this$0;
    descriptor: Ljava/util/ServiceLoader;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 906
            ldc Ljava/util/ServiceLoader;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic java.util.ServiceLoader$LayerLookupIterator.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(java.util.ServiceLoader);
    descriptor: (Ljava/util/ServiceLoader;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.util.ServiceLoader$LayerLookupIterator this
         0: .line 916
            aload 0 /* this */
            aload 1
            putfield java.util.ServiceLoader$LayerLookupIterator.this$0:Ljava/util/ServiceLoader;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 909
            aload 0 /* this */
            new java.util.ArrayDeque
            dup
            invokespecial java.util.ArrayDeque.<init>:()V
            putfield java.util.ServiceLoader$LayerLookupIterator.stack:Ljava/util/Deque;
         2: .line 910
            aload 0 /* this */
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            putfield java.util.ServiceLoader$LayerLookupIterator.visited:Ljava/util/Set;
         3: .line 917
            aload 0 /* this */
            getfield java.util.ServiceLoader$LayerLookupIterator.visited:Ljava/util/Set;
            aload 1
            getfield java.util.ServiceLoader.layer:Ljava/lang/ModuleLayer;
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
         4: .line 918
            aload 0 /* this */
            getfield java.util.ServiceLoader$LayerLookupIterator.stack:Ljava/util/Deque;
            aload 1
            getfield java.util.ServiceLoader.layer:Ljava/lang/ModuleLayer;
            invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
         5: .line 919
            return
        end local 0 // java.util.ServiceLoader$LayerLookupIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljava/util/ServiceLoader<TS;>.LayerLookupIterator<TT;>;
    MethodParameters:
        Name  Flags
      this$0  final

  private java.util.Iterator<jdk.internal.module.ServicesCatalog$ServiceProvider> providers(java.lang.ModuleLayer);
    descriptor: (Ljava/lang/ModuleLayer;)Ljava/util/Iterator;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // java.util.ServiceLoader$LayerLookupIterator this
        start local 1 // java.lang.ModuleLayer layer
         0: .line 922
            getstatic java.util.ServiceLoader.LANG_ACCESS:Ljdk/internal/misc/JavaLangAccess;
            aload 1 /* layer */
            invokeinterface jdk.internal.misc.JavaLangAccess.getServicesCatalog:(Ljava/lang/ModuleLayer;)Ljdk/internal/module/ServicesCatalog;
            astore 2 /* catalog */
        start local 2 // jdk.internal.module.ServicesCatalog catalog
         1: .line 923
            aload 2 /* catalog */
            aload 0 /* this */
            getfield java.util.ServiceLoader$LayerLookupIterator.this$0:Ljava/util/ServiceLoader;
            getfield java.util.ServiceLoader.serviceName:Ljava/lang/String;
            invokevirtual jdk.internal.module.ServicesCatalog.findServices:(Ljava/lang/String;)Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            areturn
        end local 2 // jdk.internal.module.ServicesCatalog catalog
        end local 1 // java.lang.ModuleLayer layer
        end local 0 // java.util.ServiceLoader$LayerLookupIterator this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Ljava/util/ServiceLoader<TS;>.LayerLookupIterator<TT;>;
            0    2     1    layer  Ljava/lang/ModuleLayer;
            1    2     2  catalog  Ljdk/internal/module/ServicesCatalog;
    Signature: (Ljava/lang/ModuleLayer;)Ljava/util/Iterator<Ljdk/internal/module/ServicesCatalog$ServiceProvider;>;
    MethodParameters:
       Name  Flags
      layer  

  public boolean hasNext();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=1
        start local 0 // java.util.ServiceLoader$LayerLookupIterator this
         0: .line 928
            goto 21
         1: .line 932
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.util.ServiceLoader$LayerLookupIterator.stack:Ljava/util/Deque;
            invokeinterface java.util.Deque.isEmpty:()Z
            ifeq 3
         2: .line 933
            iconst_0
            ireturn
         3: .line 935
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.util.ServiceLoader$LayerLookupIterator.stack:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast java.lang.ModuleLayer
            astore 1 /* layer */
        start local 1 // java.lang.ModuleLayer layer
         4: .line 936
            aload 1 /* layer */
            invokevirtual java.lang.ModuleLayer.parents:()Ljava/util/List;
            astore 2 /* parents */
        start local 2 // java.util.List parents
         5: .line 937
            aload 2 /* parents */
            invokeinterface java.util.List.size:()I
            iconst_1
            isub
            istore 3 /* i */
        start local 3 // int i
         6: goto 12
         7: .line 938
      StackMap locals: java.lang.ModuleLayer java.util.List int
      StackMap stack:
            aload 2 /* parents */
            iload 3 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.lang.ModuleLayer
            astore 4 /* parent */
        start local 4 // java.lang.ModuleLayer parent
         8: .line 939
            aload 0 /* this */
            getfield java.util.ServiceLoader$LayerLookupIterator.visited:Ljava/util/Set;
            aload 4 /* parent */
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifne 11
         9: .line 940
            aload 0 /* this */
            getfield java.util.ServiceLoader$LayerLookupIterator.visited:Ljava/util/Set;
            aload 4 /* parent */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
        10: .line 941
            aload 0 /* this */
            getfield java.util.ServiceLoader$LayerLookupIterator.stack:Ljava/util/Deque;
            aload 4 /* parent */
            invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
        end local 4 // java.lang.ModuleLayer parent
        11: .line 937
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ -1
      StackMap locals:
      StackMap stack:
        12: iload 3 /* i */
            ifge 7
        end local 3 // int i
        13: .line 944
            aload 0 /* this */
            aload 0 /* this */
            aload 1 /* layer */
            invokevirtual java.util.ServiceLoader$LayerLookupIterator.providers:(Ljava/lang/ModuleLayer;)Ljava/util/Iterator;
            putfield java.util.ServiceLoader$LayerLookupIterator.iterator:Ljava/util/Iterator;
        end local 2 // java.util.List parents
        end local 1 // java.lang.ModuleLayer layer
        14: .line 930
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.util.ServiceLoader$LayerLookupIterator.iterator:Ljava/util/Iterator;
            ifnull 1
            aload 0 /* this */
            getfield java.util.ServiceLoader$LayerLookupIterator.iterator:Ljava/util/Iterator;
            invokeinterface java.util.Iterator.hasNext:()Z
            ifeq 1
        15: .line 948
            aload 0 /* this */
            getfield java.util.ServiceLoader$LayerLookupIterator.iterator:Ljava/util/Iterator;
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.internal.module.ServicesCatalog$ServiceProvider
            astore 1 /* provider */
        start local 1 // jdk.internal.module.ServicesCatalog$ServiceProvider provider
        16: .line 951
            aload 0 /* this */
            getfield java.util.ServiceLoader$LayerLookupIterator.this$0:Ljava/util/ServiceLoader;
            aload 1 /* provider */
            invokevirtual java.util.ServiceLoader.loadProvider:(Ljdk/internal/module/ServicesCatalog$ServiceProvider;)Ljava/util/ServiceLoader$Provider;
            astore 2 /* next */
        start local 2 // java.util.ServiceLoader$Provider next
        17: .line 952
            aload 0 /* this */
            aload 2 /* next */
            putfield java.util.ServiceLoader$LayerLookupIterator.nextProvider:Ljava/util/ServiceLoader$Provider;
        end local 2 // java.util.ServiceLoader$Provider next
        18: .line 953
            goto 21
      StackMap locals: java.util.ServiceLoader$LayerLookupIterator jdk.internal.module.ServicesCatalog$ServiceProvider
      StackMap stack: java.util.ServiceConfigurationError
        19: astore 2 /* e */
        start local 2 // java.util.ServiceConfigurationError e
        20: .line 954
            aload 0 /* this */
            aload 2 /* e */
            putfield java.util.ServiceLoader$LayerLookupIterator.nextError:Ljava/util/ServiceConfigurationError;
        end local 2 // java.util.ServiceConfigurationError e
        end local 1 // jdk.internal.module.ServicesCatalog$ServiceProvider provider
        21: .line 928
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.util.ServiceLoader$LayerLookupIterator.nextProvider:Ljava/util/ServiceLoader$Provider;
            ifnonnull 22
            aload 0 /* this */
            getfield java.util.ServiceLoader$LayerLookupIterator.nextError:Ljava/util/ServiceConfigurationError;
            ifnull 14
        22: .line 957
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 0 // java.util.ServiceLoader$LayerLookupIterator this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   23     0      this  Ljava/util/ServiceLoader<TS;>.LayerLookupIterator<TT;>;
            4   14     1     layer  Ljava/lang/ModuleLayer;
            5   14     2   parents  Ljava/util/List<Ljava/lang/ModuleLayer;>;
            6   13     3         i  I
            8   11     4    parent  Ljava/lang/ModuleLayer;
           16   21     1  provider  Ljdk/internal/module/ServicesCatalog$ServiceProvider;
           17   18     2      next  Ljava/util/ServiceLoader$Provider<TT;>;
           20   21     2         e  Ljava/util/ServiceConfigurationError;
      Exception table:
        from    to  target  type
          16    18      19  Class java.util.ServiceConfigurationError

  public java.util.ServiceLoader$Provider<T> next();
    descriptor: ()Ljava/util/ServiceLoader$Provider;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // java.util.ServiceLoader$LayerLookupIterator this
         0: .line 962
            aload 0 /* this */
            invokevirtual java.util.ServiceLoader$LayerLookupIterator.hasNext:()Z
            ifne 2
         1: .line 963
            new java.util.NoSuchElementException
            dup
            invokespecial java.util.NoSuchElementException.<init>:()V
            athrow
         2: .line 965
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.util.ServiceLoader$LayerLookupIterator.nextProvider:Ljava/util/ServiceLoader$Provider;
            astore 1 /* provider */
        start local 1 // java.util.ServiceLoader$Provider provider
         3: .line 966
            aload 1 /* provider */
            ifnull 6
         4: .line 967
            aload 0 /* this */
            aconst_null
            putfield java.util.ServiceLoader$LayerLookupIterator.nextProvider:Ljava/util/ServiceLoader$Provider;
         5: .line 968
            aload 1 /* provider */
            areturn
         6: .line 970
      StackMap locals: java.util.ServiceLoader$Provider
      StackMap stack:
            aload 0 /* this */
            getfield java.util.ServiceLoader$LayerLookupIterator.nextError:Ljava/util/ServiceConfigurationError;
            astore 2 /* e */
        start local 2 // java.util.ServiceConfigurationError e
         7: .line 971
            getstatic java.util.ServiceLoader$LayerLookupIterator.$assertionsDisabled:Z
            ifne 8
            aload 2 /* e */
            ifnonnull 8
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         8: .line 972
      StackMap locals: java.util.ServiceConfigurationError
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield java.util.ServiceLoader$LayerLookupIterator.nextError:Ljava/util/ServiceConfigurationError;
         9: .line 973
            aload 2 /* e */
            athrow
        end local 2 // java.util.ServiceConfigurationError e
        end local 1 // java.util.ServiceLoader$Provider provider
        end local 0 // java.util.ServiceLoader$LayerLookupIterator this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   10     0      this  Ljava/util/ServiceLoader<TS;>.LayerLookupIterator<TT;>;
            3   10     1  provider  Ljava/util/ServiceLoader$Provider<TT;>;
            7   10     2         e  Ljava/util/ServiceConfigurationError;
    Signature: ()Ljava/util/ServiceLoader$Provider<TT;>;

  public java.lang.Object next();
    descriptor: ()Ljava/lang/Object;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            aload 0
            invokevirtual java.util.ServiceLoader$LayerLookupIterator.next:()Ljava/util/ServiceLoader$Provider;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<Ljava/util/ServiceLoader$Provider<TT;>;>;
SourceFile: "ServiceLoader.java"
NestHost: java.util.ServiceLoader
InnerClasses:
  private final LayerLookupIterator = java.util.ServiceLoader$LayerLookupIterator of java.util.ServiceLoader
  public abstract Provider = java.util.ServiceLoader$Provider of java.util.ServiceLoader
  public final ServiceProvider = jdk.internal.module.ServicesCatalog$ServiceProvider of jdk.internal.module.ServicesCatalog