public class com.sun.tools.example.debug.bdi.ThreadGroupIterator implements java.util.Iterator<com.sun.jdi.ThreadGroupReference>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.example.debug.bdi.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;>;>;
public void <init>(java.util.List<com.sun.jdi.ThreadGroupReference>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
putfield com.sun.tools.example.debug.bdi.ThreadGroupIterator.stack:Ljava/util/Stack;
3: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.bdi.ThreadGroupIterator.push:(Ljava/util/List;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/example/debug/bdi/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 void <init>(com.sun.jdi.ThreadGroupReference);
descriptor: (Lcom/sun/jdi/ThreadGroupReference;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
putfield com.sun.tools.example.debug.bdi.ThreadGroupIterator.stack:Ljava/util/Stack;
3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 4: aload 2
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.bdi.ThreadGroupIterator.push:(Ljava/util/List;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/example/debug/bdi/ThreadGroupIterator;
0 7 1 tg Lcom/sun/jdi/ThreadGroupReference;
4 7 2 tgl Ljava/util/List<Lcom/sun/jdi/ThreadGroupReference;>;
MethodParameters:
Name Flags
tg
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 0: aload 0
getfield com.sun.tools.example.debug.bdi.ThreadGroupIterator.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast java.util.Iterator
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/bdi/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 start local 1 0: aload 0
getfield com.sun.tools.example.debug.bdi.ThreadGroupIterator.stack:Ljava/util/Stack;
aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: goto 3
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.bdi.ThreadGroupIterator.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
pop
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.bdi.ThreadGroupIterator.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.isEmpty:()Z
ifne 4
aload 0
invokevirtual com.sun.tools.example.debug.bdi.ThreadGroupIterator.top:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 2
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/example/debug/bdi/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 0: aload 0
getfield com.sun.tools.example.debug.bdi.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 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/bdi/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 0: aload 0
invokevirtual com.sun.tools.example.debug.bdi.ThreadGroupIterator.nextThreadGroup:()Lcom/sun/jdi/ThreadGroupReference;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/bdi/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 0: aload 0
invokevirtual com.sun.tools.example.debug.bdi.ThreadGroupIterator.top:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.jdi.ThreadGroupReference
astore 1
start local 1 1: aload 0
aload 1
invokeinterface com.sun.jdi.ThreadGroupReference.threadGroups:()Ljava/util/List;
invokevirtual com.sun.tools.example.debug.bdi.ThreadGroupIterator.push:(Ljava/util/List;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/bdi/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 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/bdi/ThreadGroupIterator;
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: aload 0
invokevirtual com.sun.tools.example.debug.bdi.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"