final class jdk.tools.jaotc.Timer implements java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jaotc.Timer
super_class: java.lang.Object
{
private final jdk.tools.jaotc.Main main;
descriptor: Ljdk/tools/jaotc/Main;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long start;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(jdk.tools.jaotc.Main, java.lang.String);
descriptor: (Ljdk/tools/jaotc/Main;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=3, 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 jdk.tools.jaotc.Timer.main:Ljdk/tools/jaotc/Main;
2: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield jdk.tools.jaotc.Timer.start:J
3: aload 1
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
aload 2
invokevirtual jdk.tools.jaotc.LogPrinter.printInfo:(Ljava/lang/String;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jaotc/Timer;
0 5 1 main Ljdk/tools/jaotc/Main;
0 5 2 message Ljava/lang/String;
MethodParameters:
Name Flags
main
message
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: invokestatic java.lang.System.currentTimeMillis:()J
lstore 1
start local 1 1: aload 0
getfield jdk.tools.jaotc.Timer.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
new java.lang.StringBuilder
dup
ldc " ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
aload 0
getfield jdk.tools.jaotc.Timer.start:J
lsub
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " ms)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.tools.jaotc.LogPrinter.printlnInfo:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jaotc/Timer;
1 3 1 end J
}
SourceFile: "Timer.java"