class com.sun.tools.example.debug.tty.ThreadIterator implements java.util.Iterator<com.sun.jdi.ThreadReference>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.example.debug.tty.ThreadIterator
super_class: java.lang.Object
{
java.util.Iterator<com.sun.jdi.ThreadReference> it;
descriptor: Ljava/util/Iterator;
flags: (0x0000)
Signature: Ljava/util/Iterator<Lcom/sun/jdi/ThreadReference;>;
com.sun.tools.example.debug.tty.ThreadGroupIterator tgi;
descriptor: Lcom/sun/tools/example/debug/tty/ThreadGroupIterator;
flags: (0x0000)
void <init>(com.sun.jdi.ThreadGroupReference);
descriptor: (Lcom/sun/jdi/ThreadGroupReference;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.tools.example.debug.tty.ThreadIterator.it:Ljava/util/Iterator;
2: aload 0
new com.sun.tools.example.debug.tty.ThreadGroupIterator
dup
aload 1
invokespecial com.sun.tools.example.debug.tty.ThreadGroupIterator.<init>:(Lcom/sun/jdi/ThreadGroupReference;)V
putfield com.sun.tools.example.debug.tty.ThreadIterator.tgi:Lcom/sun/tools/example/debug/tty/ThreadGroupIterator;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/example/debug/tty/ThreadIterator;
0 4 1 tg Lcom/sun/jdi/ThreadGroupReference;
MethodParameters:
Name Flags
tg
void <init>(java.util.List<com.sun.jdi.ThreadGroupReference>);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.tools.example.debug.tty.ThreadIterator.it:Ljava/util/Iterator;
2: aload 0
new com.sun.tools.example.debug.tty.ThreadGroupIterator
dup
aload 1
invokespecial com.sun.tools.example.debug.tty.ThreadGroupIterator.<init>:(Ljava/util/List;)V
putfield com.sun.tools.example.debug.tty.ThreadIterator.tgi:Lcom/sun/tools/example/debug/tty/ThreadGroupIterator;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/example/debug/tty/ThreadIterator;
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>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.tools.example.debug.tty.ThreadIterator.it:Ljava/util/Iterator;
2: aload 0
new com.sun.tools.example.debug.tty.ThreadGroupIterator
dup
invokespecial com.sun.tools.example.debug.tty.ThreadGroupIterator.<init>:()V
putfield com.sun.tools.example.debug.tty.ThreadIterator.tgi:Lcom/sun/tools/example/debug/tty/ThreadGroupIterator;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/example/debug/tty/ThreadIterator;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: goto 4
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.tty.ThreadIterator.tgi:Lcom/sun/tools/example/debug/tty/ThreadGroupIterator;
invokevirtual com.sun.tools.example.debug.tty.ThreadGroupIterator.hasNext:()Z
ifne 3
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.tools.example.debug.tty.ThreadIterator.tgi:Lcom/sun/tools/example/debug/tty/ThreadGroupIterator;
invokevirtual com.sun.tools.example.debug.tty.ThreadGroupIterator.nextThreadGroup:()Lcom/sun/jdi/ThreadGroupReference;
invokeinterface com.sun.jdi.ThreadGroupReference.threads:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
putfield com.sun.tools.example.debug.tty.ThreadIterator.it:Ljava/util/Iterator;
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.tty.ThreadIterator.it:Ljava/util/Iterator;
ifnull 1
aload 0
getfield com.sun.tools.example.debug.tty.ThreadIterator.it:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 1
5: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/example/debug/tty/ThreadIterator;
public com.sun.jdi.ThreadReference next();
descriptor: ()Lcom/sun/jdi/ThreadReference;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.tty.ThreadIterator.it:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.jdi.ThreadReference
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/ThreadIterator;
public com.sun.jdi.ThreadReference nextThread();
descriptor: ()Lcom/sun/jdi/ThreadReference;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.example.debug.tty.ThreadIterator.next:()Lcom/sun/jdi/ThreadReference;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/ThreadIterator;
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/tty/ThreadIterator;
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.tty.ThreadIterator.next:()Lcom/sun/jdi/ThreadReference;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<Lcom/sun/jdi/ThreadReference;>;
SourceFile: "ThreadIterator.java"