class javax.swing.TimerQueue$DelayedTimer implements java.util.concurrent.Delayed
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.TimerQueue$DelayedTimer
super_class: java.lang.Object
{
private static final java.util.concurrent.atomic.AtomicLong sequencer;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final long sequenceNumber;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile long time;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final javax.swing.Timer timer;
descriptor: Ljavax/swing/Timer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new java.util.concurrent.atomic.AtomicLong
dup
lconst_0
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:(J)V
putstatic javax.swing.TimerQueue$DelayedTimer.sequencer:Ljava/util/concurrent/atomic/AtomicLong;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(javax.swing.Timer, long);
descriptor: (Ljavax/swing/Timer;J)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield javax.swing.TimerQueue$DelayedTimer.timer:Ljavax/swing/Timer;
2: aload 0
lload 2
putfield javax.swing.TimerQueue$DelayedTimer.time:J
3: aload 0
getstatic javax.swing.TimerQueue$DelayedTimer.sequencer:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.getAndIncrement:()J
putfield javax.swing.TimerQueue$DelayedTimer.sequenceNumber:J
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/TimerQueue$DelayedTimer;
0 5 1 timer Ljavax/swing/Timer;
0 5 2 nanos J
MethodParameters:
Name Flags
timer
nanos
public final long getDelay(java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/TimeUnit;)J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield javax.swing.TimerQueue$DelayedTimer.time:J
invokestatic javax.swing.TimerQueue.now:()J
lsub
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/TimerQueue$DelayedTimer;
0 1 1 unit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
unit
final void setTime(long);
descriptor: (J)V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield javax.swing.TimerQueue$DelayedTimer.time:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/TimerQueue$DelayedTimer;
0 2 1 nanos J
MethodParameters:
Name Flags
nanos
final javax.swing.Timer getTimer();
descriptor: ()Ljavax/swing/Timer;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.TimerQueue$DelayedTimer.timer:Ljavax/swing/Timer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/TimerQueue$DelayedTimer;
public int compareTo(java.util.concurrent.Delayed);
descriptor: (Ljava/util/concurrent/Delayed;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof javax.swing.TimerQueue$DelayedTimer
ifeq 12
3: aload 1
checkcast javax.swing.TimerQueue$DelayedTimer
astore 2
start local 2 4: aload 0
getfield javax.swing.TimerQueue$DelayedTimer.time:J
aload 2
getfield javax.swing.TimerQueue$DelayedTimer.time:J
lsub
lstore 3
start local 3 5: lload 3
lconst_0
lcmp
ifge 7
6: iconst_m1
ireturn
7: StackMap locals: javax.swing.TimerQueue$DelayedTimer long
StackMap stack:
lload 3
lconst_0
lcmp
ifle 9
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.TimerQueue$DelayedTimer.sequenceNumber:J
aload 2
getfield javax.swing.TimerQueue$DelayedTimer.sequenceNumber:J
lcmp
ifge 11
10: iconst_m1
ireturn
11: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 12: StackMap locals:
StackMap stack:
aload 0
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual javax.swing.TimerQueue$DelayedTimer.getDelay:(Ljava/util/concurrent/TimeUnit;)J
13: aload 1
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.Delayed.getDelay:(Ljava/util/concurrent/TimeUnit;)J
14: lsub
lstore 2
start local 2 15: lload 2
lconst_0
lcmp
ifne 16
iconst_0
goto 18
StackMap locals: long
StackMap stack:
16: lload 2
lconst_0
lcmp
ifge 17
iconst_m1
goto 18
StackMap locals:
StackMap stack:
17: iconst_1
StackMap locals:
StackMap stack: int
18: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljavax/swing/TimerQueue$DelayedTimer;
0 19 1 other Ljava/util/concurrent/Delayed;
4 12 2 x Ljavax/swing/TimerQueue$DelayedTimer;
5 12 3 diff J
15 19 2 d J
MethodParameters:
Name Flags
other
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.concurrent.Delayed
invokevirtual javax.swing.TimerQueue$DelayedTimer.compareTo:(Ljava/util/concurrent/Delayed;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "TimerQueue.java"
NestHost: javax.swing.TimerQueue
InnerClasses:
DelayedTimer = javax.swing.TimerQueue$DelayedTimer of javax.swing.TimerQueue