public final enum class io.quarkus.runtime.ImageMode extends java.lang.Enum
{
public static final enum io.quarkus.runtime.ImageMode JVM;
public static final enum io.quarkus.runtime.ImageMode NATIVE_BUILD;
public static final enum io.quarkus.runtime.ImageMode NATIVE_RUN;
private static final io.quarkus.runtime.ImageMode[] $VALUES;
public static io.quarkus.runtime.ImageMode[] values()
{
io.quarkus.runtime.ImageMode[] v;
java.lang.Object v;
v = <io.quarkus.runtime.ImageMode: io.quarkus.runtime.ImageMode[] $VALUES>;
v = virtualinvoke v.<java.lang.Object: java.lang.Object clone()>();
return v;
}
public static io.quarkus.runtime.ImageMode valueOf(java.lang.String)
{
java.lang.String v;
java.lang.Enum v;
v := @parameter: java.lang.String;
v = staticinvoke <java.lang.Enum: java.lang.Enum valueOf(java.lang.Class,java.lang.String)>(class "Lio/quarkus/runtime/ImageMode;", v);
return v;
}
private void <init>(java.lang.String, int)
{
int v;
java.lang.String v;
io.quarkus.runtime.ImageMode v;
v := @this: io.quarkus.runtime.ImageMode;
v := @parameter: java.lang.String;
v := @parameter: int;
specialinvoke v.<java.lang.Enum: void <init>(java.lang.String,int)>(v, v);
return;
}
public boolean isNativeImage()
{
io.quarkus.runtime.ImageMode v, v, v;
boolean v;
v := @this: io.quarkus.runtime.ImageMode;
v = staticinvoke <io.quarkus.runtime.ImageMode: io.quarkus.runtime.ImageMode current()>();
v = <io.quarkus.runtime.ImageMode: io.quarkus.runtime.ImageMode JVM>;
if v == v goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public static io.quarkus.runtime.ImageMode current()
{
io.quarkus.runtime.ImageMode v, v, v;
boolean v, v;
v = staticinvoke <org.graalvm.nativeimage.ImageInfo: boolean inImageBuildtimeCode()>();
if v == 0 goto label;
v = <io.quarkus.runtime.ImageMode: io.quarkus.runtime.ImageMode NATIVE_BUILD>;
return v;
label:
v = staticinvoke <org.graalvm.nativeimage.ImageInfo: boolean inImageRuntimeCode()>();
if v == 0 goto label;
v = <io.quarkus.runtime.ImageMode: io.quarkus.runtime.ImageMode NATIVE_RUN>;
return v;
label:
v = <io.quarkus.runtime.ImageMode: io.quarkus.runtime.ImageMode JVM>;
return v;
}
private static io.quarkus.runtime.ImageMode[] $values()
{
io.quarkus.runtime.ImageMode v, v, v;
io.quarkus.runtime.ImageMode[] v;
v = newarray (io.quarkus.runtime.ImageMode)[3];
v = <io.quarkus.runtime.ImageMode: io.quarkus.runtime.ImageMode JVM>;
v[0] = v;
v = <io.quarkus.runtime.ImageMode: io.quarkus.runtime.ImageMode NATIVE_BUILD>;
v[1] = v;
v = <io.quarkus.runtime.ImageMode: io.quarkus.runtime.ImageMode NATIVE_RUN>;
v[2] = v;
return v;
}
static void <clinit>()
{
io.quarkus.runtime.ImageMode v, v, v;
io.quarkus.runtime.ImageMode[] v;
v = new io.quarkus.runtime.ImageMode;
specialinvoke v.<io.quarkus.runtime.ImageMode: void <init>(java.lang.String,int)>("JVM", 0);
<io.quarkus.runtime.ImageMode: io.quarkus.runtime.ImageMode JVM> = v;
v = new io.quarkus.runtime.ImageMode;
specialinvoke v.<io.quarkus.runtime.ImageMode: void <init>(java.lang.String,int)>("NATIVE_BUILD", 1);
<io.quarkus.runtime.ImageMode: io.quarkus.runtime.ImageMode NATIVE_BUILD> = v;
v = new io.quarkus.runtime.ImageMode;
specialinvoke v.<io.quarkus.runtime.ImageMode: void <init>(java.lang.String,int)>("NATIVE_RUN", 2);
<io.quarkus.runtime.ImageMode: io.quarkus.runtime.ImageMode NATIVE_RUN> = v;
v = staticinvoke <io.quarkus.runtime.ImageMode: io.quarkus.runtime.ImageMode[] $values()>();
<io.quarkus.runtime.ImageMode: io.quarkus.runtime.ImageMode[] $VALUES> = v;
return;
}
}