public abstract class io.vertx.core.spi.launcher.DefaultCommand extends java.lang.Object implements io.vertx.core.spi.launcher.Command
{
private java.io.File cwd;
protected java.util.List systemProperties;
protected io.vertx.core.spi.launcher.ExecutionContext executionContext;
protected java.io.PrintStream out;
public void <init>()
{
io.vertx.core.spi.launcher.DefaultCommand v;
v := @this: io.vertx.core.spi.launcher.DefaultCommand;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
public java.io.File getCwd()
{
io.vertx.core.spi.launcher.DefaultCommand v;
java.io.File v, v;
v := @this: io.vertx.core.spi.launcher.DefaultCommand;
v = v.<io.vertx.core.spi.launcher.DefaultCommand: java.io.File cwd>;
if v == null goto label;
v = v.<io.vertx.core.spi.launcher.DefaultCommand: java.io.File cwd>;
goto label;
label:
v = new java.io.File;
specialinvoke v.<java.io.File: void <init>(java.lang.String)>(".");
label:
return v;
}
public void setCwd(java.io.File)
{
io.vertx.core.spi.launcher.DefaultCommand v;
java.io.File v;
v := @this: io.vertx.core.spi.launcher.DefaultCommand;
v := @parameter: java.io.File;
v.<io.vertx.core.spi.launcher.DefaultCommand: java.io.File cwd> = v;
return;
}
public void setSystemProps(java.util.List)
{
java.util.List v;
io.vertx.core.spi.launcher.DefaultCommand v;
v := @this: io.vertx.core.spi.launcher.DefaultCommand;
v := @parameter: java.util.List;
v.<io.vertx.core.spi.launcher.DefaultCommand: java.util.List systemProperties> = v;
return;
}
public void setUp(io.vertx.core.spi.launcher.ExecutionContext) throws io.vertx.core.cli.CLIException
{
io.vertx.core.spi.launcher.ExecutionContext v, v;
java.io.PrintStream v;
io.vertx.core.spi.launcher.DefaultCommand v;
v := @this: io.vertx.core.spi.launcher.DefaultCommand;
v := @parameter: io.vertx.core.spi.launcher.ExecutionContext;
v.<io.vertx.core.spi.launcher.DefaultCommand: io.vertx.core.spi.launcher.ExecutionContext executionContext> = v;
v = v.<io.vertx.core.spi.launcher.DefaultCommand: io.vertx.core.spi.launcher.ExecutionContext executionContext>;
v = virtualinvoke v.<io.vertx.core.spi.launcher.ExecutionContext: java.io.PrintStream getPrintStream()>();
v.<io.vertx.core.spi.launcher.DefaultCommand: java.io.PrintStream out> = v;
virtualinvoke v.<io.vertx.core.spi.launcher.DefaultCommand: void applySystemProperties()>();
return;
}
public java.io.PrintStream out()
{
io.vertx.core.spi.launcher.ExecutionContext v;
java.io.PrintStream v;
io.vertx.core.spi.launcher.DefaultCommand v;
v := @this: io.vertx.core.spi.launcher.DefaultCommand;
v = v.<io.vertx.core.spi.launcher.DefaultCommand: io.vertx.core.spi.launcher.ExecutionContext executionContext>;
v = virtualinvoke v.<io.vertx.core.spi.launcher.ExecutionContext: java.io.PrintStream getPrintStream()>();
return v;
}
public void tearDown() throws io.vertx.core.cli.CLIException
{
io.vertx.core.spi.launcher.DefaultCommand v;
v := @this: io.vertx.core.spi.launcher.DefaultCommand;
return;
}
protected void applySystemProperties()
{
java.util.Iterator v;
java.util.List v, v;
int v, v;
java.lang.Object v;
java.lang.String v, v;
io.vertx.core.spi.launcher.DefaultCommand v;
boolean v;
v := @this: io.vertx.core.spi.launcher.DefaultCommand;
v = v.<io.vertx.core.spi.launcher.DefaultCommand: java.util.List systemProperties>;
if v == null goto label;
v = v.<io.vertx.core.spi.launcher.DefaultCommand: java.util.List systemProperties>;
v = interfaceinvoke v.<java.util.List: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = virtualinvoke v.<java.lang.String: int indexOf(int)>(61);
if v <= 0 goto label;
v = virtualinvoke v.<java.lang.String: java.lang.String substring(int,int)>(0, v);
v = v + 1;
v = virtualinvoke v.<java.lang.String: java.lang.String substring(int)>(v);
staticinvoke <java.lang.System: java.lang.String setProperty(java.lang.String,java.lang.String)>(v, v);
goto label;
label:
return;
}
}