public class jdk.internal.jline.internal.Configuration
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.jline.internal.Configuration
super_class: java.lang.Object
{
public static final java.lang.String JLINE_CONFIGURATION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jline.configuration"
public static final java.lang.String JLINE_RC;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: ".jline.rc"
private static volatile java.util.Properties properties;
descriptor: Ljava/util/Properties;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/jline/internal/Configuration;
private static java.util.Properties initProperties();
descriptor: ()Ljava/util/Properties;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=0
0: invokestatic jdk.internal.jline.internal.Configuration.determineUrl:()Ljava/net/URL;
astore 0
start local 0 1: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 1
start local 1 2: aload 0
aload 1
invokestatic jdk.internal.jline.internal.Configuration.loadProperties:(Ljava/net/URL;Ljava/util/Properties;)V
3: goto 7
4: StackMap locals: java.net.URL java.util.Properties
StackMap stack: java.io.IOException
astore 2
start local 2 5: iconst_3
anewarray java.lang.Object
dup
iconst_0
6: ldc "Unable to read configuration from: "
aastore
dup
iconst_1
aload 0
aastore
dup
iconst_2
aload 2
aastore
invokestatic jdk.internal.jline.internal.Log.debug:([Ljava/lang/Object;)V
end local 2 7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 8 0 url Ljava/net/URL;
2 8 1 props Ljava/util/Properties;
5 7 2 e Ljava/io/IOException;
Exception table:
from to target type
2 3 4 Class java.io.IOException
private static void loadProperties(java.net.URL, java.util.Properties);
descriptor: (Ljava/net/URL;Ljava/util/Properties;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: iconst_2
anewarray java.lang.Object
dup
iconst_0
1: ldc "Loading properties from: "
aastore
dup
iconst_1
aload 0
aastore
invokestatic jdk.internal.jline.internal.Log.debug:([Ljava/lang/Object;)V
2: aload 0
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
astore 2
start local 2 3: aload 1
new java.io.BufferedInputStream
dup
aload 2
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
4: goto 10
5: StackMap locals: java.net.URL java.util.Properties java.io.InputStream
StackMap stack: java.lang.Throwable
astore 3
6: aload 2
invokevirtual java.io.InputStream.close:()V
7: goto 9
8: StackMap locals: java.net.URL java.util.Properties java.io.InputStream java.lang.Throwable
StackMap stack: java.io.IOException
pop
9: StackMap locals:
StackMap stack:
aload 3
athrow
10: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.InputStream.close:()V
11: goto 13
12: StackMap locals:
StackMap stack: java.io.IOException
pop
13: StackMap locals:
StackMap stack:
getstatic jdk.internal.jline.internal.Log.DEBUG:Z
ifeq 20
iconst_1
anewarray java.lang.Object
dup
iconst_0
14: ldc "Loaded properties:"
aastore
invokestatic jdk.internal.jline.internal.Log.debug:([Ljava/lang/Object;)V
15: aload 1
invokevirtual java.util.Properties.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 19
StackMap locals: java.net.URL java.util.Properties java.io.InputStream top java.util.Iterator
StackMap stack:
16: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 17: iconst_4
anewarray java.lang.Object
dup
iconst_0
18: ldc " "
aastore
dup
iconst_1
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
aastore
dup
iconst_2
ldc "="
aastore
dup
iconst_3
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
aastore
invokestatic jdk.internal.jline.internal.Log.debug:([Ljava/lang/Object;)V
end local 3 19: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
StackMap locals: java.net.URL java.util.Properties java.io.InputStream
StackMap stack:
20: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 url Ljava/net/URL;
0 21 1 props Ljava/util/Properties;
3 21 2 input Ljava/io/InputStream;
17 19 3 entry Ljava/util/Map$Entry<Ljava/lang/Object;Ljava/lang/Object;>;
Exception table:
from to target type
3 5 5 any
6 7 8 Class java.io.IOException
10 11 12 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url final
props final
private static java.net.URL determineUrl();
descriptor: ()Ljava/net/URL;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: ldc "jline.configuration"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
ifnull 3
2: aload 0
invokestatic jdk.internal.jline.internal.Urls.create:(Ljava/lang/String;)Ljava/net/URL;
areturn
3: StackMap locals: java.lang.String
StackMap stack:
new java.io.File
dup
invokestatic jdk.internal.jline.internal.Configuration.getUserHome:()Ljava/io/File;
ldc ".jline.rc"
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 1
start local 1 4: aload 1
invokestatic jdk.internal.jline.internal.Urls.create:(Ljava/io/File;)Ljava/net/URL;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 5 0 tmp Ljava/lang/String;
4 5 1 file Ljava/io/File;
public static void reset();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_1
anewarray java.lang.Object
dup
iconst_0
1: ldc "Resetting"
aastore
invokestatic jdk.internal.jline.internal.Log.debug:([Ljava/lang/Object;)V
2: aconst_null
putstatic jdk.internal.jline.internal.Configuration.properties:Ljava/util/Properties;
3: invokestatic jdk.internal.jline.internal.Configuration.getProperties:()Ljava/util/Properties;
pop
return
LocalVariableTable:
Start End Slot Name Signature
public static java.util.Properties getProperties();
descriptor: ()Ljava/util/Properties;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.internal.jline.internal.Configuration.properties:Ljava/util/Properties;
ifnonnull 2
1: invokestatic jdk.internal.jline.internal.Configuration.initProperties:()Ljava/util/Properties;
putstatic jdk.internal.jline.internal.Configuration.properties:Ljava/util/Properties;
2: StackMap locals:
StackMap stack:
getstatic jdk.internal.jline.internal.Configuration.properties:Ljava/util/Properties;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String getString(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.internal.jline.internal.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnonnull 6
3: invokestatic jdk.internal.jline.internal.Configuration.getProperties:()Ljava/util/Properties;
aload 0
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
4: aload 2
ifnonnull 6
5: aload 1
astore 2
6: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 name Ljava/lang/String;
0 7 1 defaultValue Ljava/lang/String;
2 7 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name final
defaultValue final
public static java.lang.String getString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic jdk.internal.jline.internal.Configuration.getString:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
public static boolean getBoolean(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.internal.jline.internal.Configuration.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iload 1
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
ifeq 8
4: aload 2
ldc "1"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 8
5: aload 2
ldc "on"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 8
6: aload 2
ldc "true"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 8
7: iconst_0
ireturn
StackMap locals:
StackMap stack:
8: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 name Ljava/lang/String;
0 9 1 defaultValue Z
1 9 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name final
defaultValue final
public static int getInteger(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.internal.jline.internal.Configuration.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iload 1
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
0 4 1 defaultValue I
1 4 2 str Ljava/lang/String;
MethodParameters:
Name Flags
name final
defaultValue final
public static long getLong(java.lang.String, long);
descriptor: (Ljava/lang/String;J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.internal.jline.internal.Configuration.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: lload 1
lreturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 3
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
0 4 1 defaultValue J
1 4 3 str Ljava/lang/String;
MethodParameters:
Name Flags
name final
defaultValue final
public static java.lang.String getLineSeparator();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "line.separator"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.io.File getUserHome();
descriptor: ()Ljava/io/File;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.io.File
dup
ldc "user.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String getOsName();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "os.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isWindows();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic jdk.internal.jline.internal.Configuration.getOsName:()Ljava/lang/String;
ldc "windows"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String getFileEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "file.encoding"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String getEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc "LC_CTYPE"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
invokestatic jdk.internal.jline.internal.Configuration.extractEncodingFromCtype:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
ifnull 3
2: aload 0
areturn
3: StackMap locals: java.lang.String
StackMap stack:
ldc "input.encoding"
invokestatic java.nio.charset.Charset.defaultCharset:()Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 envEncoding Ljava/lang/String;
static java.lang.String (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
ifnull 5
aload 0
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
ifle 5
1: aload 0
aload 0
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
start local 1 2: aload 1
bipush 64
invokevirtual java.lang.String.indexOf:(I)I
ifle 4
3: aload 1
iconst_0
aload 1
bipush 64
invokevirtual java.lang.String.indexOf:(I)I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
4: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 ctype Ljava/lang/String;
2 5 1 encodingAndModifier Ljava/lang/String;
MethodParameters:
Name Flags
ctype
}
SourceFile: "Configuration.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map