public class org.graalvm.compiler.test.SubprocessUtil$Subprocess
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.test.SubprocessUtil$Subprocess
super_class: java.lang.Object
{
public final java.util.List<java.lang.String> command;
descriptor: Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
public final int exitCode;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.util.List<java.lang.String> output;
descriptor: Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
public static final java.lang.String DASHES_DELIMITER;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "-------------------------------------------------------"
public void <init>(java.util.List<java.lang.String>, int, java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;ILjava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.test.SubprocessUtil$Subprocess.command:Ljava/util/List;
2: aload 0
iload 2
putfield org.graalvm.compiler.test.SubprocessUtil$Subprocess.exitCode:I
3: aload 0
aload 3
putfield org.graalvm.compiler.test.SubprocessUtil$Subprocess.output:Ljava/util/List;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
0 5 1 command Ljava/util/List<Ljava/lang/String;>;
0 5 2 exitCode I
0 5 3 output Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;ILjava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
command
exitCode
output
public java.lang.String toString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: new java.util.Formatter
dup
invokespecial java.util.Formatter.<init>:()V
astore 2
start local 2 1: aload 1
ifnull 3
2: aload 2
ldc "%s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
3: StackMap locals: java.util.Formatter
StackMap stack:
aload 2
ldc "%s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.compiler.test.SubprocessUtil$Subprocess.command:Ljava/util/List;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/graalvm/compiler/test/SubprocessUtil$Subprocess.lambda$0(Ljava/lang/String;)Ljava/lang/String; (6)
(Ljava/lang/String;)Ljava/lang/String;
ldc " "
invokestatic org.graalvm.util.CollectionsUtil.mapAndJoin:(Ljava/lang/Iterable;Ljava/util/function/Function;Ljava/lang/String;)Ljava/lang/String;
aastore
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
4: aload 0
getfield org.graalvm.compiler.test.SubprocessUtil$Subprocess.output:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: org.graalvm.compiler.test.SubprocessUtil$Subprocess java.lang.String java.util.Formatter top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 6: aload 2
ldc "%s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 1
ifnull 10
9: aload 2
ldc "%s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
10: StackMap locals: org.graalvm.compiler.test.SubprocessUtil$Subprocess java.lang.String java.util.Formatter
StackMap stack:
aload 2
invokevirtual java.util.Formatter.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
0 11 1 delimiter Ljava/lang/String;
1 11 2 msg Ljava/util/Formatter;
6 7 3 line Ljava/lang/String;
MethodParameters:
Name Flags
delimiter
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "-------------------------------------------------------"
invokevirtual org.graalvm.compiler.test.SubprocessUtil$Subprocess.toString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/test/SubprocessUtil$Subprocess;
private static java.lang.String lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokestatic org.graalvm.compiler.test.SubprocessUtil.quoteShellArg:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 e Ljava/lang/String;
}
SourceFile: "SubprocessUtil.java"
NestHost: org.graalvm.compiler.test.SubprocessUtil
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Subprocess = org.graalvm.compiler.test.SubprocessUtil$Subprocess of org.graalvm.compiler.test.SubprocessUtil