public final class org.graalvm.nativeimage.ImageInfo
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.nativeimage.ImageInfo
super_class: java.lang.Object
{
public static final java.lang.String PROPERTY_IMAGE_CODE_KEY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "org.graalvm.nativeimage.imagecode"
public static final java.lang.String PROPERTY_IMAGE_CODE_VALUE_BUILDTIME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "buildtime"
public static final java.lang.String PROPERTY_IMAGE_CODE_VALUE_RUNTIME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "runtime"
public static final java.lang.String PROPERTY_IMAGE_KIND_KEY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "org.graalvm.nativeimage.kind"
public static final java.lang.String PROPERTY_IMAGE_KIND_VALUE_SHARED_LIBRARY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "shared"
public static final java.lang.String PROPERTY_IMAGE_KIND_VALUE_EXECUTABLE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "executable"
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/nativeimage/ImageInfo;
public static boolean inImageCode();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "org.graalvm.nativeimage.imagecode"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean inImageRuntimeCode();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "runtime"
ldc "org.graalvm.nativeimage.imagecode"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean inImageBuildtimeCode();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "buildtime"
ldc "org.graalvm.nativeimage.imagecode"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isExecutable();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic org.graalvm.nativeimage.ImageInfo.ensureKindAvailable:()V
1: ldc "executable"
ldc "org.graalvm.nativeimage.kind"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isSharedLibrary();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic org.graalvm.nativeimage.ImageInfo.ensureKindAvailable:()V
1: ldc "shared"
ldc "org.graalvm.nativeimage.kind"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static void ensureKindAvailable();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: invokestatic org.graalvm.nativeimage.ImageInfo.inImageCode:()Z
ifeq 4
ldc "org.graalvm.nativeimage.kind"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ifnonnull 4
1: new java.lang.UnsupportedOperationException
dup
2: ldc "The kind of image that is built (executable or shared library) is not available yet because the relevant command line option has not been parsed yet."
3: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ImageInfo.java"