public final class jdk.internal.util.StaticProperty
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.internal.util.StaticProperty
super_class: java.lang.Object
{
private static final java.lang.String JAVA_HOME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String USER_HOME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String USER_DIR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String USER_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "java.home"
invokestatic jdk.internal.util.StaticProperty.initProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic jdk.internal.util.StaticProperty.JAVA_HOME:Ljava/lang/String;
1: ldc "user.home"
invokestatic jdk.internal.util.StaticProperty.initProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic jdk.internal.util.StaticProperty.USER_HOME:Ljava/lang/String;
2: ldc "user.dir"
invokestatic jdk.internal.util.StaticProperty.initProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic jdk.internal.util.StaticProperty.USER_DIR:Ljava/lang/String;
3: ldc "user.name"
invokestatic jdk.internal.util.StaticProperty.initProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic jdk.internal.util.StaticProperty.USER_NAME:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/util/StaticProperty;
private static java.lang.String initProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "null property: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 key Ljava/lang/String;
1 4 1 v Ljava/lang/String;
MethodParameters:
Name Flags
key
public static java.lang.String javaHome();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.internal.util.StaticProperty.JAVA_HOME:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String userHome();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.internal.util.StaticProperty.USER_HOME:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String userDir();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.internal.util.StaticProperty.USER_DIR:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String userName();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.internal.util.StaticProperty.USER_NAME:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "StaticProperty.java"