public class jdk.internal.org.jline.utils.OSUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.org.jline.utils.OSUtils
super_class: java.lang.Object
{
public static final boolean IS_WINDOWS;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean IS_CYGWIN;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean IS_MINGW;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final boolean IS_MSYSTEM;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean IS_CONEMU;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean IS_OSX;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean IS_AIX;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static java.lang.String TTY_COMMAND;
descriptor: Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public static java.lang.String STTY_COMMAND;
descriptor: Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public static java.lang.String STTY_F_OPTION;
descriptor: Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public static java.lang.String INFOCMP_COMMAND;
descriptor: Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=10, 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;
ldc "win"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
putstatic jdk.internal.org.jline.utils.OSUtils.IS_WINDOWS:Z
1: getstatic jdk.internal.org.jline.utils.OSUtils.IS_WINDOWS:Z
ifeq 5
2: ldc "PWD"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
ifnull 5
3: ldc "PWD"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
4: iconst_1
goto 6
StackMap locals:
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: putstatic jdk.internal.org.jline.utils.OSUtils.IS_CYGWIN:Z
7: getstatic jdk.internal.org.jline.utils.OSUtils.IS_WINDOWS:Z
ifeq 11
8: ldc "MSYSTEM"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
ifnull 11
9: ldc "MSYSTEM"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
ldc "MINGW"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 11
10: iconst_1
goto 12
StackMap locals:
StackMap stack:
11: iconst_0
StackMap locals:
StackMap stack: int
12: putstatic jdk.internal.org.jline.utils.OSUtils.IS_MINGW:Z
13: getstatic jdk.internal.org.jline.utils.OSUtils.IS_WINDOWS:Z
ifeq 18
14: ldc "MSYSTEM"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
ifnull 18
15: ldc "MSYSTEM"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
ldc "MINGW"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 17
16: ldc "MSYSTEM"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
ldc "MSYS"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
17: StackMap locals:
StackMap stack:
iconst_1
goto 19
StackMap locals:
StackMap stack:
18: iconst_0
StackMap locals:
StackMap stack: int
19: putstatic jdk.internal.org.jline.utils.OSUtils.IS_MSYSTEM:Z
20: getstatic jdk.internal.org.jline.utils.OSUtils.IS_WINDOWS:Z
ifeq 23
21: ldc "ConEmuPID"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
ifnull 23
22: iconst_1
goto 24
StackMap locals:
StackMap stack:
23: iconst_0
StackMap locals:
StackMap stack: int
24: putstatic jdk.internal.org.jline.utils.OSUtils.IS_CONEMU:Z
25: ldc "os.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
ldc "mac"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
putstatic jdk.internal.org.jline.utils.OSUtils.IS_OSX:Z
26: ldc "os.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ldc "AIX"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putstatic jdk.internal.org.jline.utils.OSUtils.IS_AIX:Z
27: getstatic jdk.internal.org.jline.utils.OSUtils.IS_CYGWIN:Z
ifne 28
getstatic jdk.internal.org.jline.utils.OSUtils.IS_MSYSTEM:Z
ifeq 46
28: StackMap locals:
StackMap stack:
ldc "tty.exe"
astore 0
start local 0 29: ldc "stty.exe"
astore 1
start local 1 30: aconst_null
astore 2
start local 2 31: ldc "infocmp.exe"
astore 3
start local 3 32: ldc "PATH"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 33: aload 4
ifnull 53
34: aload 4
ldc ";"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 5
start local 5 35: aload 5
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 44
StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String[] top int int java.lang.String[]
StackMap stack:
36: aload 9
iload 7
aaload
astore 6
start local 6 37: aload 0
ifnonnull 39
new java.io.File
dup
aload 6
ldc "tty.exe"
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokevirtual java.io.File.exists:()Z
ifeq 39
38: new java.io.File
dup
aload 6
ldc "tty.exe"
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
astore 0
39: StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack:
aload 1
ifnonnull 41
new java.io.File
dup
aload 6
ldc "stty.exe"
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokevirtual java.io.File.exists:()Z
ifeq 41
40: new java.io.File
dup
aload 6
ldc "stty.exe"
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
astore 1
41: StackMap locals:
StackMap stack:
aload 3
ifnonnull 43
new java.io.File
dup
aload 6
ldc "infocmp.exe"
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokevirtual java.io.File.exists:()Z
ifeq 43
42: new java.io.File
dup
aload 6
ldc "infocmp.exe"
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
astore 3
end local 6 43: StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
44: iload 7
iload 8
if_icmplt 36
end local 5 end local 4 45: goto 53
end local 3 end local 2 end local 1 end local 0 46: StackMap locals:
StackMap stack:
ldc "tty"
astore 0
start local 0 47: ldc "stty"
astore 1
start local 1 48: ldc "infocmp"
astore 3
start local 3 49: getstatic jdk.internal.org.jline.utils.OSUtils.IS_OSX:Z
ifeq 52
50: ldc "-f"
astore 2
start local 2 51: goto 53
end local 2 52: StackMap locals: java.lang.String java.lang.String top java.lang.String
StackMap stack:
ldc "-F"
astore 2
start local 2 53: StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 0
putstatic jdk.internal.org.jline.utils.OSUtils.TTY_COMMAND:Ljava/lang/String;
54: aload 1
putstatic jdk.internal.org.jline.utils.OSUtils.STTY_COMMAND:Ljava/lang/String;
55: aload 2
putstatic jdk.internal.org.jline.utils.OSUtils.STTY_F_OPTION:Ljava/lang/String;
56: aload 3
putstatic jdk.internal.org.jline.utils.OSUtils.INFOCMP_COMMAND:Ljava/lang/String;
end local 3 end local 2 end local 1 end local 0 57: return
LocalVariableTable:
Start End Slot Name Signature
29 46 0 tty Ljava/lang/String;
47 57 0 tty Ljava/lang/String;
30 46 1 stty Ljava/lang/String;
48 57 1 stty Ljava/lang/String;
31 46 2 sttyfopt Ljava/lang/String;
51 52 2 sttyfopt Ljava/lang/String;
53 57 2 sttyfopt Ljava/lang/String;
32 46 3 infocmp Ljava/lang/String;
49 57 3 infocmp Ljava/lang/String;
33 45 4 path Ljava/lang/String;
35 45 5 paths [Ljava/lang/String;
37 43 6 p Ljava/lang/String;
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/org/jline/utils/OSUtils;
}
SourceFile: "OSUtils.java"