public abstract class io.vertx.core.spi.launcher.DefaultCommand implements io.vertx.core.spi.launcher.Command
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.vertx.core.spi.launcher.DefaultCommand
super_class: java.lang.Object
{
private java.io.File cwd;
descriptor: Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
protected java.util.List<java.lang.String> systemProperties;
descriptor: Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/List<Ljava/lang/String;>;
protected io.vertx.core.spi.launcher.ExecutionContext executionContext;
descriptor: Lio/vertx/core/spi/launcher/ExecutionContext;
flags: (0x0004) ACC_PROTECTED
protected java.io.PrintStream out;
descriptor: Ljava/io/PrintStream;
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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 Lio/vertx/core/spi/launcher/DefaultCommand;
public java.io.File getCwd();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.spi.launcher.DefaultCommand.cwd:Ljava/io/File;
ifnull 1
aload 0
getfield io.vertx.core.spi.launcher.DefaultCommand.cwd:Ljava/io/File;
goto 2
StackMap locals:
StackMap stack:
1: new java.io.File
dup
ldc "."
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
StackMap locals:
StackMap stack: java.io.File
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/spi/launcher/DefaultCommand;
public void setCwd(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.core.spi.launcher.DefaultCommand.cwd:Ljava/io/File;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/spi/launcher/DefaultCommand;
0 2 1 cwd Ljava/io/File;
RuntimeVisibleAnnotations:
io.vertx.core.cli.annotations.Option(longName = "cwd", argName = "dir")
io.vertx.core.cli.annotations.Description(value = "Specifies the current working directory for this command, default set to the Java current directory")
io.vertx.core.cli.annotations.Hidden()
MethodParameters:
Name Flags
cwd
public void setSystemProps(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.core.spi.launcher.DefaultCommand.systemProperties:Ljava/util/List;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/spi/launcher/DefaultCommand;
0 2 1 props Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;)V
RuntimeVisibleAnnotations:
io.vertx.core.cli.annotations.Option(longName = "systemProperty", shortName = "D", argName = "key>=<value")
io.vertx.core.cli.annotations.Description(value = "Set a system property")
io.vertx.core.cli.annotations.Hidden()
MethodParameters:
Name Flags
props
public void setUp(io.vertx.core.spi.launcher.ExecutionContext);
descriptor: (Lio/vertx/core/spi/launcher/ExecutionContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.core.spi.launcher.DefaultCommand.executionContext:Lio/vertx/core/spi/launcher/ExecutionContext;
1: aload 0
aload 0
getfield io.vertx.core.spi.launcher.DefaultCommand.executionContext:Lio/vertx/core/spi/launcher/ExecutionContext;
invokevirtual io.vertx.core.spi.launcher.ExecutionContext.getPrintStream:()Ljava/io/PrintStream;
putfield io.vertx.core.spi.launcher.DefaultCommand.out:Ljava/io/PrintStream;
2: aload 0
invokevirtual io.vertx.core.spi.launcher.DefaultCommand.applySystemProperties:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/spi/launcher/DefaultCommand;
0 4 1 ec Lio/vertx/core/spi/launcher/ExecutionContext;
Exceptions:
throws io.vertx.core.cli.CLIException
MethodParameters:
Name Flags
ec
public java.io.PrintStream out();
descriptor: ()Ljava/io/PrintStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.spi.launcher.DefaultCommand.executionContext:Lio/vertx/core/spi/launcher/ExecutionContext;
invokevirtual io.vertx.core.spi.launcher.ExecutionContext.getPrintStream:()Ljava/io/PrintStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/spi/launcher/DefaultCommand;
public void tearDown();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/spi/launcher/DefaultCommand;
Exceptions:
throws io.vertx.core.cli.CLIException
protected void applySystemProperties();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.spi.launcher.DefaultCommand.systemProperties:Ljava/util/List;
ifnull 9
1: aload 0
getfield io.vertx.core.spi.launcher.DefaultCommand.systemProperties:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 8
StackMap locals: io.vertx.core.spi.launcher.DefaultCommand top java.util.Iterator
StackMap stack:
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 3: aload 1
bipush 61
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 4: iload 3
ifle 8
5: aload 1
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 6: aload 1
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
start local 5 7: aload 4
aload 5
invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
end local 5 end local 4 end local 3 end local 1 8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: StackMap locals: io.vertx.core.spi.launcher.DefaultCommand
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/spi/launcher/DefaultCommand;
3 8 1 prop Ljava/lang/String;
4 8 3 p I
6 8 4 key Ljava/lang/String;
7 8 5 val Ljava/lang/String;
}
SourceFile: "DefaultCommand.java"