public class org.codehaus.plexus.util.Os
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.codehaus.plexus.util.Os
super_class: java.lang.Object
{
public static final java.lang.String FAMILY_DOS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "dos"
public static final java.lang.String FAMILY_MAC;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "mac"
public static final java.lang.String FAMILY_NETWARE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "netware"
public static final java.lang.String FAMILY_OS2;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "os/2"
public static final java.lang.String FAMILY_TANDEM;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "tandem"
public static final java.lang.String FAMILY_UNIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "unix"
public static final java.lang.String FAMILY_WINDOWS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "windows"
public static final java.lang.String FAMILY_WIN9X;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "win9x"
public static final java.lang.String FAMILY_ZOS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "z/os"
public static final java.lang.String FAMILY_OS400;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "os/400"
public static final java.lang.String FAMILY_OPENVMS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "openvms"
private static final java.util.Set<java.lang.String> validFamilies;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.lang.String PATH_SEP;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.lang.String OS_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String OS_ARCH;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String OS_VERSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String OS_FAMILY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private java.lang.String family;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String version;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String arch;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic org.codehaus.plexus.util.Os.setValidFamilies:()Ljava/util/Set;
putstatic org.codehaus.plexus.util.Os.validFamilies:Ljava/util/Set;
1: ldc "path.separator"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic org.codehaus.plexus.util.Os.PATH_SEP:Ljava/lang/String;
2: ldc "os.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
putstatic org.codehaus.plexus.util.Os.OS_NAME:Ljava/lang/String;
3: ldc "os.arch"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
putstatic org.codehaus.plexus.util.Os.OS_ARCH:Ljava/lang/String;
4: ldc "os.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
putstatic org.codehaus.plexus.util.Os.OS_VERSION:Ljava/lang/String;
5: invokestatic org.codehaus.plexus.util.Os.getOsFamily:()Ljava/lang/String;
putstatic org.codehaus.plexus.util.Os.OS_FAMILY:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/codehaus/plexus/util/Os;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual org.codehaus.plexus.util.Os.setFamily:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/codehaus/plexus/util/Os;
0 3 1 family Ljava/lang/String;
MethodParameters:
Name Flags
family
private static java.util.Set<java.lang.String> setValidFamilies();
descriptor: ()Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 0
start local 0 1: aload 0
ldc "dos"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
2: aload 0
ldc "mac"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: aload 0
ldc "netware"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: aload 0
ldc "os/2"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: aload 0
ldc "tandem"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
6: aload 0
ldc "unix"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: aload 0
ldc "windows"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: aload 0
ldc "win9x"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
9: aload 0
ldc "z/os"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
10: aload 0
ldc "os/400"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: aload 0
ldc "openvms"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
12: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 13 0 valid Ljava/util/Set<Ljava/lang/String;>;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public void setFamily(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
putfield org.codehaus.plexus.util.Os.family:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/codehaus/plexus/util/Os;
0 2 1 f Ljava/lang/String;
MethodParameters:
Name Flags
f
public void setName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
putfield org.codehaus.plexus.util.Os.name:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/codehaus/plexus/util/Os;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void setArch(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
putfield org.codehaus.plexus.util.Os.arch:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/codehaus/plexus/util/Os;
0 2 1 arch Ljava/lang/String;
MethodParameters:
Name Flags
arch
public void setVersion(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
putfield org.codehaus.plexus.util.Os.version:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/codehaus/plexus/util/Os;
0 2 1 version Ljava/lang/String;
MethodParameters:
Name Flags
version
public boolean eval();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.codehaus.plexus.util.Os.family:Ljava/lang/String;
aload 0
getfield org.codehaus.plexus.util.Os.name:Ljava/lang/String;
aload 0
getfield org.codehaus.plexus.util.Os.arch:Ljava/lang/String;
aload 0
getfield org.codehaus.plexus.util.Os.version:Ljava/lang/String;
invokestatic org.codehaus.plexus.util.Os.isOs:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/codehaus/plexus/util/Os;
Exceptions:
throws java.lang.Exception
public static boolean isFamily(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
aconst_null
aconst_null
invokestatic org.codehaus.plexus.util.Os.isOs:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 family Ljava/lang/String;
MethodParameters:
Name Flags
family
public static boolean isName(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aconst_null
aload 0
aconst_null
aconst_null
invokestatic org.codehaus.plexus.util.Os.isOs:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public static boolean isArch(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aconst_null
aconst_null
aload 0
aconst_null
invokestatic org.codehaus.plexus.util.Os.isOs:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 arch Ljava/lang/String;
MethodParameters:
Name Flags
arch
public static boolean isVersion(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aconst_null
aconst_null
aconst_null
aload 0
invokestatic org.codehaus.plexus.util.Os.isOs:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 version Ljava/lang/String;
MethodParameters:
Name Flags
version
public static boolean isOs(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: aload 0
ifnonnull 2
aload 1
ifnonnull 2
aload 2
ifnonnull 2
aload 3
ifnull 64
2: StackMap locals: int
StackMap stack:
iconst_1
istore 5
start local 5 3: iconst_1
istore 6
start local 6 4: iconst_1
istore 7
start local 7 5: iconst_1
istore 8
start local 8 6: aload 0
ifnull 55
7: aload 0
ldc "windows"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
8: getstatic org.codehaus.plexus.util.Os.OS_NAME:Ljava/lang/String;
ldc "windows"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
istore 5
9: goto 55
10: StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String int int int int int
StackMap stack:
aload 0
ldc "os/2"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 13
11: getstatic org.codehaus.plexus.util.Os.OS_NAME:Ljava/lang/String;
ldc "os/2"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
istore 5
12: goto 55
13: StackMap locals:
StackMap stack:
aload 0
ldc "netware"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 16
14: getstatic org.codehaus.plexus.util.Os.OS_NAME:Ljava/lang/String;
ldc "netware"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
istore 5
15: goto 55
16: StackMap locals:
StackMap stack:
aload 0
ldc "dos"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 23
17: getstatic org.codehaus.plexus.util.Os.PATH_SEP:Ljava/lang/String;
ldc ";"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
ldc "netware"
invokestatic org.codehaus.plexus.util.Os.isFamily:(Ljava/lang/String;)Z
ifne 20
ldc "windows"
invokestatic org.codehaus.plexus.util.Os.isFamily:(Ljava/lang/String;)Z
ifne 20
18: ldc "win9x"
invokestatic org.codehaus.plexus.util.Os.isFamily:(Ljava/lang/String;)Z
ifne 20
19: iconst_1
goto 21
StackMap locals:
StackMap stack:
20: iconst_0
StackMap locals:
StackMap stack: int
21: istore 5
22: goto 55
23: StackMap locals:
StackMap stack:
aload 0
ldc "mac"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 26
24: getstatic org.codehaus.plexus.util.Os.OS_NAME:Ljava/lang/String;
ldc "mac"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
istore 5
25: goto 55
26: StackMap locals:
StackMap stack:
aload 0
ldc "tandem"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 29
27: getstatic org.codehaus.plexus.util.Os.OS_NAME:Ljava/lang/String;
ldc "nonstop_kernel"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
istore 5
28: goto 55
29: StackMap locals:
StackMap stack:
aload 0
ldc "unix"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 36
30: getstatic org.codehaus.plexus.util.Os.PATH_SEP:Ljava/lang/String;
ldc ":"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 33
ldc "openvms"
invokestatic org.codehaus.plexus.util.Os.isFamily:(Ljava/lang/String;)Z
ifne 33
31: ldc "mac"
invokestatic org.codehaus.plexus.util.Os.isFamily:(Ljava/lang/String;)Z
ifeq 32
getstatic org.codehaus.plexus.util.Os.OS_NAME:Ljava/lang/String;
ldc "x"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 33
32: StackMap locals:
StackMap stack:
iconst_1
goto 34
StackMap locals:
StackMap stack:
33: iconst_0
StackMap locals:
StackMap stack: int
34: istore 5
35: goto 55
36: StackMap locals:
StackMap stack:
aload 0
ldc "win9x"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 43
37: ldc "windows"
invokestatic org.codehaus.plexus.util.Os.isFamily:(Ljava/lang/String;)Z
ifeq 40
getstatic org.codehaus.plexus.util.Os.OS_NAME:Ljava/lang/String;
ldc "95"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 39
getstatic org.codehaus.plexus.util.Os.OS_NAME:Ljava/lang/String;
ldc "98"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 39
38: getstatic org.codehaus.plexus.util.Os.OS_NAME:Ljava/lang/String;
ldc "me"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 39
getstatic org.codehaus.plexus.util.Os.OS_NAME:Ljava/lang/String;
ldc "ce"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 40
39: StackMap locals:
StackMap stack:
iconst_1
goto 41
StackMap locals:
StackMap stack:
40: iconst_0
StackMap locals:
StackMap stack: int
41: istore 5
42: goto 55
43: StackMap locals:
StackMap stack:
aload 0
ldc "z/os"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 48
44: getstatic org.codehaus.plexus.util.Os.OS_NAME:Ljava/lang/String;
ldc "z/os"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 45
getstatic org.codehaus.plexus.util.Os.OS_NAME:Ljava/lang/String;
ldc "os/390"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 45
iconst_0
goto 46
StackMap locals:
StackMap stack:
45: iconst_1
StackMap locals:
StackMap stack: int
46: istore 5
47: goto 55
48: StackMap locals:
StackMap stack:
aload 0
ldc "os/400"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 51
49: getstatic org.codehaus.plexus.util.Os.OS_NAME:Ljava/lang/String;
ldc "os/400"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
istore 5
50: goto 55
51: StackMap locals:
StackMap stack:
aload 0
ldc "openvms"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 54
52: getstatic org.codehaus.plexus.util.Os.OS_NAME:Ljava/lang/String;
ldc "openvms"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
istore 5
53: goto 55
54: StackMap locals:
StackMap stack:
getstatic org.codehaus.plexus.util.Os.OS_NAME:Ljava/lang/String;
aload 0
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
istore 5
55: StackMap locals:
StackMap stack:
aload 1
ifnull 57
56: aload 1
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
getstatic org.codehaus.plexus.util.Os.OS_NAME:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
istore 6
57: StackMap locals:
StackMap stack:
aload 2
ifnull 59
58: aload 2
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
getstatic org.codehaus.plexus.util.Os.OS_ARCH:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
istore 7
59: StackMap locals:
StackMap stack:
aload 3
ifnull 61
60: aload 3
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
getstatic org.codehaus.plexus.util.Os.OS_VERSION:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
istore 8
61: StackMap locals:
StackMap stack:
iload 5
ifeq 62
iload 6
ifeq 62
iload 7
ifeq 62
iload 8
ifeq 62
iconst_1
goto 63
StackMap locals:
StackMap stack:
62: iconst_0
StackMap locals:
StackMap stack: int
63: istore 4
end local 8 end local 7 end local 6 end local 5 64: StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String int
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 65 0 family Ljava/lang/String;
0 65 1 name Ljava/lang/String;
0 65 2 arch Ljava/lang/String;
0 65 3 version Ljava/lang/String;
1 65 4 retValue Z
3 64 5 isFamily Z
4 64 6 isName Z
5 64 7 isArch Z
6 64 8 isVersion Z
MethodParameters:
Name Flags
family
name
arch
version
private static java.lang.String getOsFamily();
descriptor: ()Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=3, args_size=0
0: aconst_null
astore 0
start local 0 1: getstatic org.codehaus.plexus.util.Os.validFamilies:Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifne 4
2: getstatic org.codehaus.plexus.util.Os.validFamilies:Ljava/util/Set;
astore 0
3: goto 5
4: StackMap locals: java.util.Set
StackMap stack:
invokestatic org.codehaus.plexus.util.Os.setValidFamilies:()Ljava/util/Set;
astore 0
5: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 9
StackMap locals: java.util.Set top java.util.Iterator
StackMap stack:
6: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 7: aload 1
invokestatic org.codehaus.plexus.util.Os.isFamily:(Ljava/lang/String;)Z
ifeq 9
8: aload 1
areturn
end local 1 9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
10: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 11 0 families Ljava/util/Set<Ljava/lang/String;>;
7 9 1 fam Ljava/lang/String;
public static boolean isValidFamily(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.codehaus.plexus.util.Os.validFamilies:Ljava/util/Set;
aload 0
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 theFamily Ljava/lang/String;
MethodParameters:
Name Flags
theFamily
public static java.util.Set<java.lang.String> getValidFamilies();
descriptor: ()Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.util.HashSet
dup
getstatic org.codehaus.plexus.util.Os.validFamilies:Ljava/util/Set;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
}
SourceFile: "Os.java"