public abstract class org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler extends org.junit.platform.console.shadow.picocli.CommandLine$AbstractHandler implements org.junit.platform.console.shadow.picocli.CommandLine$IParseResultHandler, org.junit.platform.console.shadow.picocli.CommandLine$IExecutionStrategy
{
public void <init>()
{
org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler v;
v := @this: org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler;
specialinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$AbstractHandler: void <init>()>();
return;
}
public java.lang.Object handleParseResult(org.junit.platform.console.shadow.picocli.CommandLine$ParseResult) throws org.junit.platform.console.shadow.picocli.CommandLine$ExecutionException
{
java.io.PrintStream v, v;
org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler v;
org.junit.platform.console.shadow.picocli.CommandLine$ParseResult v;
org.junit.platform.console.shadow.picocli.CommandLine$Help$ColorScheme v;
java.util.List v;
java.lang.Object v, v, v;
boolean v;
v := @this: org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler;
v := @parameter: org.junit.platform.console.shadow.picocli.CommandLine$ParseResult;
v = virtualinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$ParseResult: java.util.List asCommandLineList()>();
v = virtualinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler: java.io.PrintStream out()>();
v = virtualinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler: java.io.PrintStream err()>();
v = virtualinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler: org.junit.platform.console.shadow.picocli.CommandLine$Help$ColorScheme colorScheme()>();
v = staticinvoke <org.junit.platform.console.shadow.picocli.CommandLine: boolean printHelpIfRequested(java.util.List,java.io.PrintStream,java.io.PrintStream,org.junit.platform.console.shadow.picocli.CommandLine$Help$ColorScheme)>(v, v, v, v);
if v == 0 goto label;
v = virtualinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler: java.lang.Object returnResultOrExit(java.lang.Object)>(null);
return v;
label:
v = virtualinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler: java.lang.Object handle(org.junit.platform.console.shadow.picocli.CommandLine$ParseResult)>(v);
v = virtualinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler: java.lang.Object returnResultOrExit(java.lang.Object)>(v);
return v;
}
public int execute(org.junit.platform.console.shadow.picocli.CommandLine$ParseResult) throws org.junit.platform.console.shadow.picocli.CommandLine$ExecutionException
{
java.lang.Object[] v, v;
org.junit.platform.console.shadow.picocli.CommandLine$ParseResult v;
org.junit.platform.console.shadow.picocli.CommandLine$Tracer v;
java.lang.Integer v, v;
int v, v, v, v;
java.lang.String v, v;
org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler v;
org.junit.platform.console.shadow.picocli.CommandLine$Model$CommandSpec v;
java.util.List v;
java.lang.Class v, v;
java.lang.Object v;
v := @this: org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler;
v := @parameter: org.junit.platform.console.shadow.picocli.CommandLine$ParseResult;
v = staticinvoke <org.junit.platform.console.shadow.picocli.CommandLine: java.lang.Integer executeHelpRequest(org.junit.platform.console.shadow.picocli.CommandLine$ParseResult)>(v);
if v == null goto label;
v = virtualinvoke v.<java.lang.Integer: int intValue()>();
return v;
label:
v = staticinvoke <org.junit.platform.console.shadow.picocli.CommandLine: org.junit.platform.console.shadow.picocli.CommandLine$Tracer tracer()>();
v = newarray (java.lang.Object)[1];
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = virtualinvoke v.<java.lang.Class: java.lang.String getSimpleName()>();
v[0] = v;
virtualinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$Tracer: void debug(java.lang.String,java.lang.Object[])>("%s: handling ParseResult...", v);
v = virtualinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler: java.lang.Object handle(org.junit.platform.console.shadow.picocli.CommandLine$ParseResult)>(v);
v = virtualinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler: java.util.List extractExitCodeGenerators(org.junit.platform.console.shadow.picocli.CommandLine$ParseResult)>(v);
v = newarray (java.lang.Object)[2];
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = virtualinvoke v.<java.lang.Class: java.lang.String getSimpleName()>();
v[0] = v;
v = interfaceinvoke v.<java.util.List: int size()>();
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
virtualinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$Tracer: void debug(java.lang.String,java.lang.Object[])>("%s: ParseResult has %s exit code generators", v);
v = virtualinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$ParseResult: org.junit.platform.console.shadow.picocli.CommandLine$Model$CommandSpec commandSpec()>();
v = virtualinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$Model$CommandSpec: int exitCodeOnSuccess()>();
v = specialinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler: int resolveExitCode(int,java.lang.Object,java.util.List)>(v, v, v);
return v;
}
private int resolveExitCode(int, java.lang.Object, java.util.List)
{
java.lang.Object[] v, v, v;
org.junit.platform.console.shadow.picocli.CommandLine$Tracer v;
java.lang.Integer v, v, v;
int v, v, v, v, v, v, v;
boolean v, v, v, v;
org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler v;
java.util.Iterator v, v;
java.lang.Exception v;
java.util.List v;
java.lang.Object v, v, v;
v := @this: org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler;
v := @parameter: int;
v := @parameter: java.lang.Object;
v := @parameter: java.util.List;
v = 0;
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()>();
label:
v = interfaceinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$IExitCodeGenerator: int getExitCode()>();
if v <= 0 goto label;
if v > v goto label;
label:
if v >= v goto label;
if v > 0 goto label;
label:
v = v;
label:
goto label;
label:
v := @caughtexception;
if v != 0 goto label;
v = 1;
goto label;
label:
v = v;
label:
v = v;
virtualinvoke v.<java.lang.Exception: void printStackTrace()>();
goto label;
label:
v = staticinvoke <org.junit.platform.console.shadow.picocli.CommandLine: org.junit.platform.console.shadow.picocli.CommandLine$Tracer tracer()>();
v = newarray (java.lang.Object)[1];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
virtualinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$Tracer: void debug(java.lang.String,java.lang.Object[])>("resolveExitCode: exit code generators resulted in exit code=%d", v);
v = v instanceof java.util.List;
if v == 0 goto label;
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 = v instanceof java.lang.Integer;
if v == 0 goto label;
v = virtualinvoke v.<java.lang.Integer: int intValue()>();
if v <= 0 goto label;
if v > v goto label;
label:
if v >= v goto label;
if v > 0 goto label;
label:
v = v;
goto label;
label:
v = newarray (java.lang.Object)[1];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
virtualinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$Tracer: void debug(java.lang.String,java.lang.Object[])>("resolveExitCode: execution results resulted in exit code=%d", v);
v = newarray (java.lang.Object)[1];
if v != 0 goto label;
v = v;
goto label;
label:
v = v;
label:
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
virtualinvoke v.<org.junit.platform.console.shadow.picocli.CommandLine$Tracer: void debug(java.lang.String,java.lang.Object[])>("resolveExitCode: returning exit code=%d", v);
if v != 0 goto label;
v = v;
goto label;
label:
v = v;
label:
return v;
catch java.lang.Exception from label to label with label;
}
protected abstract java.lang.Object handle(org.junit.platform.console.shadow.picocli.CommandLine$ParseResult) throws org.junit.platform.console.shadow.picocli.CommandLine$ExecutionException;
protected java.util.List extractExitCodeGenerators(org.junit.platform.console.shadow.picocli.CommandLine$ParseResult)
{
java.util.List v;
org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler v;
org.junit.platform.console.shadow.picocli.CommandLine$ParseResult v;
v := @this: org.junit.platform.console.shadow.picocli.CommandLine$AbstractParseResultHandler;
v := @parameter: org.junit.platform.console.shadow.picocli.CommandLine$ParseResult;
v = staticinvoke <java.util.Collections: java.util.List emptyList()>();
return v;
}
}