public class org.apache.batik.util.HaltingThread extends java.lang.Thread
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.batik.util.HaltingThread
super_class: java.lang.Thread
{
protected boolean beenHalted;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Thread.<init>:()V
1: aload 0
iconst_0
putfield org.apache.batik.util.HaltingThread.beenHalted:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/batik/util/HaltingThread;
public void <init>(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
1: aload 0
iconst_0
putfield org.apache.batik.util.HaltingThread.beenHalted:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/batik/util/HaltingThread;
0 3 1 r Ljava/lang/Runnable;
MethodParameters:
Name Flags
r
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.lang.Thread.<init>:(Ljava/lang/String;)V
1: aload 0
iconst_0
putfield org.apache.batik.util.HaltingThread.beenHalted:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/batik/util/HaltingThread;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void <init>(java.lang.Runnable, java.lang.String);
descriptor: (Ljava/lang/Runnable;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
1: aload 0
iconst_0
putfield org.apache.batik.util.HaltingThread.beenHalted:Z
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/batik/util/HaltingThread;
0 3 1 r Ljava/lang/Runnable;
0 3 2 name Ljava/lang/String;
MethodParameters:
Name Flags
r
name
public boolean isHalted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield org.apache.batik.util.HaltingThread.beenHalted:Z
aload 1
monitorexit
2: ireturn
StackMap locals: org.apache.batik.util.HaltingThread org.apache.batik.util.HaltingThread
StackMap stack: java.lang.Throwable
3: aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/batik/util/HaltingThread;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public void halt();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
iconst_1
putfield org.apache.batik.util.HaltingThread.beenHalted:Z
aload 1
monitorexit
2: goto 5
StackMap locals: org.apache.batik.util.HaltingThread org.apache.batik.util.HaltingThread
StackMap stack: java.lang.Throwable
3: aload 1
monitorexit
4: athrow
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/batik/util/HaltingThread;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public void clearHalted();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
iconst_0
putfield org.apache.batik.util.HaltingThread.beenHalted:Z
aload 1
monitorexit
2: goto 5
StackMap locals: org.apache.batik.util.HaltingThread org.apache.batik.util.HaltingThread
StackMap stack: java.lang.Throwable
3: aload 1
monitorexit
4: athrow
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/batik/util/HaltingThread;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public static void haltThread();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokestatic org.apache.batik.util.HaltingThread.haltThread:(Ljava/lang/Thread;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
public static void haltThread(java.lang.Thread);
descriptor: (Ljava/lang/Thread;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.apache.batik.util.HaltingThread
ifeq 2
1: aload 0
checkcast org.apache.batik.util.HaltingThread
invokevirtual org.apache.batik.util.HaltingThread.halt:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 t Ljava/lang/Thread;
MethodParameters:
Name Flags
t
public static boolean hasBeenHalted();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokestatic org.apache.batik.util.HaltingThread.hasBeenHalted:(Ljava/lang/Thread;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean hasBeenHalted(java.lang.Thread);
descriptor: (Ljava/lang/Thread;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.apache.batik.util.HaltingThread
ifeq 2
1: aload 0
checkcast org.apache.batik.util.HaltingThread
invokevirtual org.apache.batik.util.HaltingThread.isHalted:()Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 t Ljava/lang/Thread;
MethodParameters:
Name Flags
t
}
SourceFile: "HaltingThread.java"