abstract class jdk.jfr.internal.tool.Command
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: jdk.jfr.internal.tool.Command
super_class: java.lang.Object
{
public static final java.lang.String title;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Tool for working with Flight Recorder files (.jfr)"
private static final jdk.jfr.internal.tool.Command HELP;
descriptor: Ljdk/jfr/internal/tool/Command;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.List<jdk.jfr.internal.tool.Command> COMMANDS;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljdk/jfr/internal/tool/Command;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new jdk.jfr.internal.tool.Help
dup
invokespecial jdk.jfr.internal.tool.Help.<init>:()V
putstatic jdk.jfr.internal.tool.Command.HELP:Ljdk/jfr/internal/tool/Command;
1: invokestatic jdk.jfr.internal.tool.Command.createCommands:()Ljava/util/List;
putstatic jdk.jfr.internal.tool.Command.COMMANDS:Ljava/util/List;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/tool/Command;
private static java.util.List<jdk.jfr.internal.tool.Command> createCommands();
descriptor: ()Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 0
start local 0 1: aload 0
new jdk.jfr.internal.tool.Print
dup
invokespecial jdk.jfr.internal.tool.Print.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 0
new jdk.jfr.internal.tool.Metadata
dup
invokespecial jdk.jfr.internal.tool.Metadata.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 0
new jdk.jfr.internal.tool.Summary
dup
invokespecial jdk.jfr.internal.tool.Summary.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 0
new jdk.jfr.internal.tool.Assemble
dup
invokespecial jdk.jfr.internal.tool.Assemble.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: aload 0
new jdk.jfr.internal.tool.Disassemble
dup
invokespecial jdk.jfr.internal.tool.Disassemble.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: aload 0
new jdk.jfr.internal.tool.Version
dup
invokespecial jdk.jfr.internal.tool.Version.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: aload 0
getstatic jdk.jfr.internal.tool.Command.HELP:Ljdk/jfr/internal/tool/Command;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: aload 0
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 9 0 commands Ljava/util/List<Ljdk/jfr/internal/tool/Command;>;
Signature: ()Ljava/util/List<Ljdk/jfr/internal/tool/Command;>;
static void displayHelp();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Tool for working with Flight Recorder files (.jfr)"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokestatic jdk.jfr.internal.tool.Command.displayAvailableCommands:(Ljava/io/PrintStream;)V
3: return
LocalVariableTable:
Start End Slot Name Signature
public abstract java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.lang.String getDescription();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void execute(java.util.Deque<java.lang.String>);
descriptor: (Ljava/util/Deque;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws jdk.jfr.internal.tool.UserSyntaxException, jdk.jfr.internal.tool.UserDataException
Signature: (Ljava/util/Deque<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
argList
protected java.lang.String getTitle();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.tool.Command.getDescription:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/tool/Command;
static void displayAvailableCommands(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: getstatic jdk.jfr.internal.tool.Command.COMMANDS:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: java.io.PrintStream int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.tool.Command
astore 2
start local 2 3: iload 1
ifne 5
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
5: StackMap locals: java.io.PrintStream int jdk.jfr.internal.tool.Command java.util.Iterator
StackMap stack:
aload 0
aload 2
invokestatic jdk.jfr.internal.tool.Command.displayCommand:(Ljava/io/PrintStream;Ljdk/jfr/internal/tool/Command;)V
6: aload 0
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual jdk.jfr.internal.tool.Command.getDescription:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
7: iconst_0
istore 1
end local 2 8: StackMap locals: java.io.PrintStream int top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 stream Ljava/io/PrintStream;
1 10 1 first Z
3 8 2 c Ljdk/jfr/internal/tool/Command;
MethodParameters:
Name Flags
stream
protected static void displayCommand(java.io.PrintStream, jdk.jfr.internal.tool.Command);
descriptor: (Ljava/io/PrintStream;Ljdk/jfr/internal/tool/Command;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: iconst_1
istore 2
start local 2 1: aload 1
invokestatic jdk.jfr.internal.tool.Command.buildAlias:(Ljdk/jfr/internal/tool/Command;)Ljava/lang/String;
astore 3
start local 3 2: new java.lang.StringBuilder
dup
ldc " jfr "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual jdk.jfr.internal.tool.Command.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 3: aload 1
invokevirtual jdk.jfr.internal.tool.Command.getOptionSyntax:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 18
StackMap locals: java.io.PrintStream jdk.jfr.internal.tool.Command int java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 5: iload 2
ifeq 11
6: aload 5
invokevirtual java.lang.String.length:()I
ifeq 9
7: aload 0
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
8: goto 17
9: StackMap locals: java.io.PrintStream jdk.jfr.internal.tool.Command int java.lang.String java.lang.String java.lang.String java.util.Iterator
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: goto 17
11: StackMap locals:
StackMap stack:
iconst_0
istore 7
start local 7 12: goto 15
13: StackMap locals: int
StackMap stack:
aload 0
ldc " "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
14: iinc 7 1
StackMap locals:
StackMap stack:
15: iload 7
aload 4
invokevirtual java.lang.String.length:()I
if_icmplt 13
end local 7 16: aload 0
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
iconst_0
istore 2
end local 5 18: StackMap locals: java.io.PrintStream jdk.jfr.internal.tool.Command int java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
19: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 stream Ljava/io/PrintStream;
0 20 1 c Ljdk/jfr/internal/tool/Command;
1 20 2 firstSyntax Z
2 20 3 alias Ljava/lang/String;
3 20 4 initial Ljava/lang/String;
5 18 5 syntaxLine Ljava/lang/String;
12 16 7 i I
MethodParameters:
Name Flags
stream
c
private static java.lang.String buildAlias(jdk.jfr.internal.tool.Command);
descriptor: (Ljdk/jfr/internal/tool/Command;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.tool.Command.getAliases:()Ljava/util/List;
astore 1
start local 1 1: aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
2: ldc ""
areturn
3: StackMap locals: java.util.List
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 4: aload 1
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 9
5: aload 2
ldc " (alias "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 2
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 2
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
9: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 2
ldc " (aliases "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: iconst_0
istore 3
start local 3 11: goto 16
12: StackMap locals: int
StackMap stack:
aload 2
aload 1
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: iload 3
aload 1
invokeinterface java.util.List.size:()I
iconst_1
isub
if_icmpge 15
14: aload 2
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 12
end local 3 17: aload 2
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 c Ljdk/jfr/internal/tool/Command;
1 19 1 aliases Ljava/util/List<Ljava/lang/String;>;
4 19 2 sb Ljava/lang/StringBuilder;
11 17 3 i I
MethodParameters:
Name Flags
c
public static java.util.List<jdk.jfr.internal.tool.Command> getCommands();
descriptor: ()Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.jfr.internal.tool.Command.COMMANDS:Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/List<Ljdk/jfr/internal/tool/Command;>;
public static jdk.jfr.internal.tool.Command valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/jfr/internal/tool/Command;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic jdk.jfr.internal.tool.Command.COMMANDS:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: java.lang.String top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.tool.Command
astore 1
start local 1 2: aload 1
invokevirtual jdk.jfr.internal.tool.Command.getName:()Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 1
areturn
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 commandName Ljava/lang/String;
2 4 1 command Ljdk/jfr/internal/tool/Command;
MethodParameters:
Name Flags
commandName
public java.util.List<java.lang.String> getOptionSyntax();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc ""
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/tool/Command;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public void displayOptionUsage(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/tool/Command;
0 1 1 stream Ljava/io/PrintStream;
MethodParameters:
Name Flags
stream
protected boolean acceptOption(java.util.Deque<java.lang.String>, java.lang.String);
descriptor: (Ljava/util/Deque;Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
1: aload 1
invokeinterface java.util.Deque.size:()I
iconst_2
if_icmpge 3
2: new jdk.jfr.internal.tool.UserSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "missing value for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.jfr.internal.tool.UserSyntaxException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Deque.remove:()Ljava/lang/Object;
pop
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/tool/Command;
0 6 1 options Ljava/util/Deque<Ljava/lang/String;>;
0 6 2 expected Ljava/lang/String;
Exceptions:
throws jdk.jfr.internal.tool.UserSyntaxException
Signature: (Ljava/util/Deque<Ljava/lang/String;>;Ljava/lang/String;)Z
MethodParameters:
Name Flags
options
expected
protected void warnForWildcardExpansion(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 4
1: ldc "."
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 2
aastore
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
start local 3 2: aload 3
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 4
3: return
end local 3 4: StackMap locals:
StackMap stack:
new jdk.jfr.internal.tool.UserDataException
dup
new java.lang.StringBuilder
dup
ldc "wildcards should be quoted, for example "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " \"Foo*\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.jfr.internal.tool.UserDataException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack: java.nio.file.InvalidPathException
pop
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/jfr/internal/tool/Command;
0 7 1 option Ljava/lang/String;
0 7 2 filter Ljava/lang/String;
2 4 3 p Ljava/nio/file/Path;
Exception table:
from to target type
0 3 5 Class java.nio.file.InvalidPathException
4 5 5 Class java.nio.file.InvalidPathException
Exceptions:
throws jdk.jfr.internal.tool.UserDataException
MethodParameters:
Name Flags
option
filter
protected boolean acceptFilterOption(java.util.Deque<java.lang.String>, java.lang.String);
descriptor: (Ljava/util/Deque;Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual jdk.jfr.internal.tool.Command.acceptOption:(Ljava/util/Deque;Ljava/lang/String;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Deque.isEmpty:()Z
ifeq 4
3: new jdk.jfr.internal.tool.UserSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "missing filter after "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.jfr.internal.tool.UserSyntaxException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Deque.peek:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 5: aload 3
ldc "--"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 7
6: new jdk.jfr.internal.tool.UserSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "missing filter after "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.jfr.internal.tool.UserSyntaxException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.lang.String
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jfr/internal/tool/Command;
0 8 1 options Ljava/util/Deque<Ljava/lang/String;>;
0 8 2 expected Ljava/lang/String;
5 8 3 filter Ljava/lang/String;
Exceptions:
throws jdk.jfr.internal.tool.UserSyntaxException
Signature: (Ljava/util/Deque<Ljava/lang/String;>;Ljava/lang/String;)Z
MethodParameters:
Name Flags
options
expected
protected final void ensureMaxArgumentCount(java.util.Deque<java.lang.String>, );
descriptor: (Ljava/util/Deque;I)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.util.Deque.size:()I
iload 2
if_icmple 2
1: new jdk.jfr.internal.tool.UserSyntaxException
dup
ldc "too many arguments"
invokespecial jdk.jfr.internal.tool.UserSyntaxException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/tool/Command;
0 3 1 options Ljava/util/Deque<Ljava/lang/String;>;
0 3 2 maxCount I
Exceptions:
throws jdk.jfr.internal.tool.UserSyntaxException
Signature: (Ljava/util/Deque<Ljava/lang/String;>;I)V
MethodParameters:
Name Flags
options
maxCount
protected final void ensureMinArgumentCount(java.util.Deque<java.lang.String>, );
descriptor: (Ljava/util/Deque;I)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.util.Deque.size:()I
iload 2
if_icmpge 2
1: new jdk.jfr.internal.tool.UserSyntaxException
dup
ldc "too few arguments"
invokespecial jdk.jfr.internal.tool.UserSyntaxException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/tool/Command;
0 3 1 options Ljava/util/Deque<Ljava/lang/String;>;
0 3 2 minCount I
Exceptions:
throws jdk.jfr.internal.tool.UserSyntaxException
Signature: (Ljava/util/Deque<Ljava/lang/String;>;I)V
MethodParameters:
Name Flags
options
minCount
protected final java.nio.file.Path getDirectory(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
astore 2
start local 2 1: aload 2
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 3
2: new jdk.jfr.internal.tool.UserDataException
dup
new java.lang.StringBuilder
dup
ldc "directory does not exist, "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.jfr.internal.tool.UserDataException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.nio.file.Path
StackMap stack:
aload 2
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 5
4: new jdk.jfr.internal.tool.UserDataException
dup
new java.lang.StringBuilder
dup
ldc "path must be directory, "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.jfr.internal.tool.UserDataException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 2
6: areturn
end local 2 7: StackMap locals: jdk.jfr.internal.tool.Command java.lang.String
StackMap stack: java.nio.file.InvalidPathException
pop
8: new jdk.jfr.internal.tool.UserDataException
dup
new java.lang.StringBuilder
dup
ldc "invalid path '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.jfr.internal.tool.UserDataException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/jfr/internal/tool/Command;
0 9 1 pathText Ljava/lang/String;
1 7 2 path Ljava/nio/file/Path;
Exception table:
from to target type
0 6 7 Class java.nio.file.InvalidPathException
Exceptions:
throws jdk.jfr.internal.tool.UserDataException
MethodParameters:
Name Flags
pathText
protected final java.nio.file.Path getJFRInputFile(java.util.Deque<java.lang.String>);
descriptor: (Ljava/util/Deque;)Ljava/nio/file/Path;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Deque.isEmpty:()Z
ifeq 2
1: new jdk.jfr.internal.tool.UserSyntaxException
dup
ldc "missing file"
invokespecial jdk.jfr.internal.tool.UserSyntaxException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Deque.removeLast:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: aload 2
ldc "--"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
4: new jdk.jfr.internal.tool.UserSyntaxException
dup
ldc "missing file"
invokespecial jdk.jfr.internal.tool.UserSyntaxException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.String
StackMap stack:
aload 2
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
astore 3
start local 3 6: aload 0
aload 3
invokevirtual jdk.jfr.internal.tool.Command.ensureAccess:(Ljava/nio/file/Path;)V
7: aload 0
aload 3
invokevirtual jdk.jfr.internal.tool.Command.ensureJFRFile:(Ljava/nio/file/Path;)V
8: aload 3
9: areturn
end local 3 10: StackMap locals:
StackMap stack: java.io.IOError
astore 3
start local 3 11: new jdk.jfr.internal.tool.UserDataException
dup
new java.lang.StringBuilder
dup
ldc "i/o error reading file '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "', "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.io.IOError.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.jfr.internal.tool.UserDataException.<init>:(Ljava/lang/String;)V
athrow
end local 3 12: StackMap locals:
StackMap stack: java.nio.file.InvalidPathException
pop
13: new jdk.jfr.internal.tool.UserDataException
dup
new java.lang.StringBuilder
dup
ldc "invalid path '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.jfr.internal.tool.UserDataException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/jfr/internal/tool/Command;
0 14 1 options Ljava/util/Deque<Ljava/lang/String;>;
3 14 2 file Ljava/lang/String;
6 10 3 path Ljava/nio/file/Path;
11 12 3 ioe Ljava/io/IOError;
Exception table:
from to target type
5 9 10 Class java.io.IOError
5 9 12 Class java.nio.file.InvalidPathException
Exceptions:
throws jdk.jfr.internal.tool.UserSyntaxException, jdk.jfr.internal.tool.UserDataException
Signature: (Ljava/util/Deque<Ljava/lang/String;>;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
options
private void ensureAccess(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: new java.io.RandomAccessFile
dup
aload 1
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
ldc "r"
invokespecial java.io.RandomAccessFile.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 4
start local 4 2: aload 4
invokevirtual java.io.RandomAccessFile.length:()J
lconst_0
lcmp
ifne 4
3: new jdk.jfr.internal.tool.UserDataException
dup
new java.lang.StringBuilder
dup
ldc "file is empty '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.jfr.internal.tool.UserDataException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.lang.Throwable java.lang.Throwable java.io.RandomAccessFile
StackMap stack:
aload 4
invokevirtual java.io.RandomAccessFile.read:()I
pop
5: aload 4
ifnull 15
aload 4
invokevirtual java.io.RandomAccessFile.close:()V
goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
aload 4
ifnull 7
aload 4
invokevirtual java.io.RandomAccessFile.close:()V
end local 4 StackMap locals:
StackMap stack:
7: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 3
aload 2
ifnonnull 9
aload 3
astore 2
goto 10
StackMap locals:
StackMap stack:
9: aload 2
aload 3
if_acmpeq 10
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 2
athrow
StackMap locals: jdk.jfr.internal.tool.Command java.nio.file.Path
StackMap stack: java.io.FileNotFoundException
11: pop
12: new jdk.jfr.internal.tool.UserDataException
dup
new java.lang.StringBuilder
dup
ldc "could not find file '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.jfr.internal.tool.UserDataException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 14: new jdk.jfr.internal.tool.UserDataException
dup
new java.lang.StringBuilder
dup
ldc "i/o error reading file '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "', "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.jfr.internal.tool.UserDataException.<init>:(Ljava/lang/String;)V
athrow
end local 2 15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/jfr/internal/tool/Command;
0 16 1 path Ljava/nio/file/Path;
2 7 4 rad Ljava/io/RandomAccessFile;
14 15 2 e Ljava/io/IOException;
Exception table:
from to target type
2 5 6 any
1 8 8 any
0 11 11 Class java.io.FileNotFoundException
0 11 13 Class java.io.IOException
Exceptions:
throws jdk.jfr.internal.tool.UserDataException
MethodParameters:
Name Flags
path
protected final void couldNotReadError(java.nio.file.Path, java.io.IOException);
descriptor: (Ljava/nio/file/Path;Ljava/io/IOException;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.jfr.internal.tool.UserDataException
dup
new java.lang.StringBuilder
dup
ldc "could not read recording at "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ". "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.jfr.internal.tool.UserDataException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/tool/Command;
0 1 1 p Ljava/nio/file/Path;
0 1 2 e Ljava/io/IOException;
Exceptions:
throws jdk.jfr.internal.tool.UserDataException
MethodParameters:
Name Flags
p
e
protected final java.nio.file.Path ensureFileDoesNotExist(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 2
1: new jdk.jfr.internal.tool.UserDataException
dup
new java.lang.StringBuilder
dup
ldc "file '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "' already exists"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.jfr.internal.tool.UserDataException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/tool/Command;
0 3 1 file Ljava/nio/file/Path;
Exceptions:
throws jdk.jfr.internal.tool.UserDataException
MethodParameters:
Name Flags
file
protected final void ensureJFRFile(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
ldc ".jfr"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 2
1: new jdk.jfr.internal.tool.UserDataException
dup
ldc "filename must end with '.jfr'"
invokespecial jdk.jfr.internal.tool.UserDataException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/tool/Command;
0 3 1 path Ljava/nio/file/Path;
Exceptions:
throws jdk.jfr.internal.tool.UserDataException
MethodParameters:
Name Flags
path
protected void displayUsage(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokestatic jdk.jfr.internal.tool.Command.displayCommand:(Ljava/io/PrintStream;Ljdk/jfr/internal/tool/Command;)V
1: aload 1
invokevirtual java.io.PrintStream.println:()V
2: aload 0
aload 1
invokevirtual jdk.jfr.internal.tool.Command.displayOptionUsage:(Ljava/io/PrintStream;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/tool/Command;
0 4 1 stream Ljava/io/PrintStream;
MethodParameters:
Name Flags
stream
protected final void println();
descriptor: ()V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/tool/Command;
protected final void print(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/tool/Command;
0 2 1 text Ljava/lang/String;
MethodParameters:
Name Flags
text
protected final void println(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/tool/Command;
0 2 1 text Ljava/lang/String;
MethodParameters:
Name Flags
text
protected final boolean matches(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.jfr.internal.tool.Command.getNames:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: jdk.jfr.internal.tool.Command java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 2
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/tool/Command;
0 6 1 command Ljava/lang/String;
2 4 2 s Ljava/lang/String;
MethodParameters:
Name Flags
command
protected java.util.List<java.lang.String> getAliases();
descriptor: ()Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/tool/Command;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.util.List<java.lang.String> getNames();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual jdk.jfr.internal.tool.Command.getName:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 1
aload 0
invokevirtual jdk.jfr.internal.tool.Command.getAliases:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/tool/Command;
1 4 1 names Ljava/util/List<Ljava/lang/String;>;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
}
SourceFile: "Command.java"