class com.sun.tools.example.debug.tty.ThreadGroupIterator implements java.util.Iterator<com.sun.jdi.ThreadGroupReference>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.sun.tools.example.debug.tty.ThreadGroupIterator
  super_class: java.lang.Object
{
  private final java.util.Stack<java.util.Iterator<com.sun.jdi.ThreadGroupReference>> stack;
    descriptor: Ljava/util/Stack;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Stack<Ljava/util/Iterator<Lcom/sun/jdi/ThreadGroupReference;>;>;

  void <init>(java.util.List<com.sun.jdi.ThreadGroupReference>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
        start local 1 // java.util.List tgl
         0: .line 50
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 48
            aload 0 /* this */
            new java.util.Stack
            dup
            invokespecial java.util.Stack.<init>:()V
            putfield com.sun.tools.example.debug.tty.ThreadGroupIterator.stack:Ljava/util/Stack;
         2: .line 51
            aload 0 /* this */
            aload 1 /* tgl */
            invokevirtual com.sun.tools.example.debug.tty.ThreadGroupIterator.push:(Ljava/util/List;)V
         3: .line 52
            return
        end local 1 // java.util.List tgl
        end local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/sun/tools/example/debug/tty/ThreadGroupIterator;
            0    4     1   tgl  Ljava/util/List<Lcom/sun/jdi/ThreadGroupReference;>;
    Signature: (Ljava/util/List<Lcom/sun/jdi/ThreadGroupReference;>;)V
    MethodParameters:
      Name  Flags
      tgl   

  void <init>(com.sun.jdi.ThreadGroupReference);
    descriptor: (Lcom/sun/jdi/ThreadGroupReference;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
        start local 1 // com.sun.jdi.ThreadGroupReference tg
         0: .line 54
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 48
            aload 0 /* this */
            new java.util.Stack
            dup
            invokespecial java.util.Stack.<init>:()V
            putfield com.sun.tools.example.debug.tty.ThreadGroupIterator.stack:Ljava/util/Stack;
         2: .line 55
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 2 /* tgl */
        start local 2 // java.util.List tgl
         3: .line 56
            aload 2 /* tgl */
            aload 1 /* tg */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         4: .line 57
            aload 0 /* this */
            aload 2 /* tgl */
            invokevirtual com.sun.tools.example.debug.tty.ThreadGroupIterator.push:(Ljava/util/List;)V
         5: .line 58
            return
        end local 2 // java.util.List tgl
        end local 1 // com.sun.jdi.ThreadGroupReference tg
        end local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lcom/sun/tools/example/debug/tty/ThreadGroupIterator;
            0    6     1    tg  Lcom/sun/jdi/ThreadGroupReference;
            3    6     2   tgl  Ljava/util/List<Lcom/sun/jdi/ThreadGroupReference;>;
    MethodParameters:
      Name  Flags
      tg    

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
         0: .line 61
            aload 0 /* this */
            invokestatic com.sun.tools.example.debug.tty.Env.vm:()Lcom/sun/jdi/VirtualMachine;
            invokeinterface com.sun.jdi.VirtualMachine.topLevelThreadGroups:()Ljava/util/List;
            invokespecial com.sun.tools.example.debug.tty.ThreadGroupIterator.<init>:(Ljava/util/List;)V
         1: .line 62
            return
        end local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/tools/example/debug/tty/ThreadGroupIterator;

  private java.util.Iterator<com.sun.jdi.ThreadGroupReference> top();
    descriptor: ()Ljava/util/Iterator;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
         0: .line 65
            aload 0 /* this */
            getfield com.sun.tools.example.debug.tty.ThreadGroupIterator.stack:Ljava/util/Stack;
            invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
            checkcast java.util.Iterator
            areturn
        end local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/tools/example/debug/tty/ThreadGroupIterator;
    Signature: ()Ljava/util/Iterator<Lcom/sun/jdi/ThreadGroupReference;>;

  private void push(java.util.List<com.sun.jdi.ThreadGroupReference>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
        start local 1 // java.util.List tgl
         0: .line 75
            aload 0 /* this */
            getfield com.sun.tools.example.debug.tty.ThreadGroupIterator.stack:Ljava/util/Stack;
            aload 1 /* tgl */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 76
            goto 3
         2: .line 77
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.tools.example.debug.tty.ThreadGroupIterator.stack:Ljava/util/Stack;
            invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
            pop
         3: .line 76
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.tools.example.debug.tty.ThreadGroupIterator.stack:Ljava/util/Stack;
            invokevirtual java.util.Stack.isEmpty:()Z
            ifne 4
            aload 0 /* this */
            invokevirtual com.sun.tools.example.debug.tty.ThreadGroupIterator.top:()Ljava/util/Iterator;
            invokeinterface java.util.Iterator.hasNext:()Z
            ifeq 2
         4: .line 79
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.util.List tgl
        end local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lcom/sun/tools/example/debug/tty/ThreadGroupIterator;
            0    5     1   tgl  Ljava/util/List<Lcom/sun/jdi/ThreadGroupReference;>;
    Signature: (Ljava/util/List<Lcom/sun/jdi/ThreadGroupReference;>;)V
    MethodParameters:
      Name  Flags
      tgl   

  public boolean hasNext();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
         0: .line 83
            aload 0 /* this */
            getfield com.sun.tools.example.debug.tty.ThreadGroupIterator.stack:Ljava/util/Stack;
            invokevirtual java.util.Stack.isEmpty:()Z
            ifeq 1
            iconst_0
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_1
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/sun/tools/example/debug/tty/ThreadGroupIterator;

  public com.sun.jdi.ThreadGroupReference next();
    descriptor: ()Lcom/sun/jdi/ThreadGroupReference;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
         0: .line 88
            aload 0 /* this */
            invokevirtual com.sun.tools.example.debug.tty.ThreadGroupIterator.nextThreadGroup:()Lcom/sun/jdi/ThreadGroupReference;
            areturn
        end local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/tools/example/debug/tty/ThreadGroupIterator;

  public com.sun.jdi.ThreadGroupReference nextThreadGroup();
    descriptor: ()Lcom/sun/jdi/ThreadGroupReference;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
         0: .line 92
            aload 0 /* this */
            invokevirtual com.sun.tools.example.debug.tty.ThreadGroupIterator.top:()Ljava/util/Iterator;
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast com.sun.jdi.ThreadGroupReference
            astore 1 /* tg */
        start local 1 // com.sun.jdi.ThreadGroupReference tg
         1: .line 93
            aload 0 /* this */
            aload 1 /* tg */
            invokeinterface com.sun.jdi.ThreadGroupReference.threadGroups:()Ljava/util/List;
            invokevirtual com.sun.tools.example.debug.tty.ThreadGroupIterator.push:(Ljava/util/List;)V
         2: .line 94
            aload 1 /* tg */
            areturn
        end local 1 // com.sun.jdi.ThreadGroupReference tg
        end local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/sun/tools/example/debug/tty/ThreadGroupIterator;
            1    3     1    tg  Lcom/sun/jdi/ThreadGroupReference;

  public void remove();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
         0: .line 99
            new java.lang.UnsupportedOperationException
            dup
            invokespecial java.lang.UnsupportedOperationException.<init>:()V
            athrow
        end local 0 // com.sun.tools.example.debug.tty.ThreadGroupIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/tools/example/debug/tty/ThreadGroupIterator;

  static com.sun.jdi.ThreadGroupReference find(java.lang.String);
    descriptor: (Ljava/lang/String;)Lcom/sun/jdi/ThreadGroupReference;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // java.lang.String name
         0: .line 103
            new com.sun.tools.example.debug.tty.ThreadGroupIterator
            dup
            invokespecial com.sun.tools.example.debug.tty.ThreadGroupIterator.<init>:()V
            astore 1 /* tgi */
        start local 1 // com.sun.tools.example.debug.tty.ThreadGroupIterator tgi
         1: .line 104
            goto 5
         2: .line 105
      StackMap locals: com.sun.tools.example.debug.tty.ThreadGroupIterator
      StackMap stack:
            aload 1 /* tgi */
            invokevirtual com.sun.tools.example.debug.tty.ThreadGroupIterator.nextThreadGroup:()Lcom/sun/jdi/ThreadGroupReference;
            astore 2 /* tg */
        start local 2 // com.sun.jdi.ThreadGroupReference tg
         3: .line 106
            aload 2 /* tg */
            invokeinterface com.sun.jdi.ThreadGroupReference.name:()Ljava/lang/String;
            aload 0 /* name */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 5
         4: .line 107
            aload 2 /* tg */
            areturn
        end local 2 // com.sun.jdi.ThreadGroupReference tg
         5: .line 104
      StackMap locals:
      StackMap stack:
            aload 1 /* tgi */
            invokevirtual com.sun.tools.example.debug.tty.ThreadGroupIterator.hasNext:()Z
            ifne 2
         6: .line 110
            aconst_null
            areturn
        end local 1 // com.sun.tools.example.debug.tty.ThreadGroupIterator tgi
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  name  Ljava/lang/String;
            1    7     1   tgi  Lcom/sun/tools/example/debug/tty/ThreadGroupIterator;
            3    5     2    tg  Lcom/sun/jdi/ThreadGroupReference;
    MethodParameters:
      Name  Flags
      name  

  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 com.sun.tools.example.debug.tty.ThreadGroupIterator.next:()Lcom/sun/jdi/ThreadGroupReference;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<Lcom/sun/jdi/ThreadGroupReference;>;
SourceFile: "ThreadGroupIterator.java"