public class jdk.internal.org.jline.reader.ConfigurationPath
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.org.jline.reader.ConfigurationPath
super_class: java.lang.Object
{
private java.nio.file.Path appConfig;
descriptor: Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
private java.nio.file.Path userConfig;
descriptor: Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.nio.file.Path, java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/Path;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.internal.org.jline.reader.ConfigurationPath.appConfig:Ljava/nio/file/Path;
2: aload 0
aload 2
putfield jdk.internal.org.jline.reader.ConfigurationPath.userConfig:Ljava/nio/file/Path;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/jline/reader/ConfigurationPath;
0 4 1 appConfig Ljava/nio/file/Path;
0 4 2 userConfig Ljava/nio/file/Path;
MethodParameters:
Name Flags
appConfig
userConfig
public java.nio.file.Path getConfig(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield jdk.internal.org.jline.reader.ConfigurationPath.userConfig:Ljava/nio/file/Path;
ifnull 4
aload 0
getfield jdk.internal.org.jline.reader.ConfigurationPath.userConfig:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
invokevirtual java.io.File.exists:()Z
ifeq 4
2: aload 0
getfield jdk.internal.org.jline.reader.ConfigurationPath.userConfig:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 2
3: goto 6
StackMap locals: java.nio.file.Path
StackMap stack:
4: aload 0
getfield jdk.internal.org.jline.reader.ConfigurationPath.appConfig:Ljava/nio/file/Path;
ifnull 6
aload 0
getfield jdk.internal.org.jline.reader.ConfigurationPath.appConfig:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
invokevirtual java.io.File.exists:()Z
ifeq 6
5: aload 0
getfield jdk.internal.org.jline.reader.ConfigurationPath.appConfig:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 2
6: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/org/jline/reader/ConfigurationPath;
0 7 1 name Ljava/lang/String;
1 7 2 out Ljava/nio/file/Path;
MethodParameters:
Name Flags
name
public java.nio.file.Path getUserConfig(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual jdk.internal.org.jline.reader.ConfigurationPath.getUserConfig:(Ljava/lang/String;Z)Ljava/nio/file/Path;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/ConfigurationPath;
0 1 1 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public java.nio.file.Path getUserConfig(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 0
getfield jdk.internal.org.jline.reader.ConfigurationPath.userConfig:Ljava/nio/file/Path;
ifnull 6
2: aload 0
getfield jdk.internal.org.jline.reader.ConfigurationPath.userConfig:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
invokevirtual java.io.File.exists:()Z
ifne 4
iload 2
ifeq 4
3: aload 0
getfield jdk.internal.org.jline.reader.ConfigurationPath.userConfig:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
invokevirtual java.io.File.createNewFile:()Z
pop
4: StackMap locals: java.nio.file.Path
StackMap stack:
aload 0
getfield jdk.internal.org.jline.reader.ConfigurationPath.userConfig:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
invokevirtual java.io.File.exists:()Z
ifeq 6
5: aload 0
getfield jdk.internal.org.jline.reader.ConfigurationPath.userConfig:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
6: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/org/jline/reader/ConfigurationPath;
0 7 1 name Ljava/lang/String;
0 7 2 create Z
1 7 3 out Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
create
}
SourceFile: "ConfigurationPath.java"