public class sun.awt.OSInfo$WindowsVersion implements java.lang.Comparable<sun.awt.OSInfo$WindowsVersion>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.OSInfo$WindowsVersion
super_class: java.lang.Object
{
private final int major;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int minor;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
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
iload 1
putfield sun.awt.OSInfo$WindowsVersion.major:I
2: aload 0
iload 2
putfield sun.awt.OSInfo$WindowsVersion.minor:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/OSInfo$WindowsVersion;
0 4 1 major I
0 4 2 minor I
MethodParameters:
Name Flags
major
minor
public int getMajor();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.OSInfo$WindowsVersion.major:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/OSInfo$WindowsVersion;
public int getMinor();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.OSInfo$WindowsVersion.minor:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/OSInfo$WindowsVersion;
public int compareTo(sun.awt.OSInfo$WindowsVersion);
descriptor: (Lsun/awt/OSInfo$WindowsVersion;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.OSInfo$WindowsVersion.major:I
aload 1
invokevirtual sun.awt.OSInfo$WindowsVersion.getMajor:()I
isub
istore 2
start local 2 1: iload 2
ifne 3
2: aload 0
getfield sun.awt.OSInfo$WindowsVersion.minor:I
aload 1
invokevirtual sun.awt.OSInfo$WindowsVersion.getMinor:()I
isub
istore 2
3: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/OSInfo$WindowsVersion;
0 4 1 o Lsun/awt/OSInfo$WindowsVersion;
1 4 2 result I
MethodParameters:
Name Flags
o
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof sun.awt.OSInfo$WindowsVersion
ifeq 1
aload 0
aload 1
checkcast sun.awt.OSInfo$WindowsVersion
invokevirtual sun.awt.OSInfo$WindowsVersion.compareTo:(Lsun/awt/OSInfo$WindowsVersion;)I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/OSInfo$WindowsVersion;
0 2 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: bipush 31
aload 0
getfield sun.awt.OSInfo$WindowsVersion.major:I
imul
aload 0
getfield sun.awt.OSInfo$WindowsVersion.minor:I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/OSInfo$WindowsVersion;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield sun.awt.OSInfo$WindowsVersion.major:I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.awt.OSInfo$WindowsVersion.minor:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/OSInfo$WindowsVersion;
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast sun.awt.OSInfo$WindowsVersion
invokevirtual sun.awt.OSInfo$WindowsVersion.compareTo:(Lsun/awt/OSInfo$WindowsVersion;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Lsun/awt/OSInfo$WindowsVersion;>;
SourceFile: "OSInfo.java"
NestHost: sun.awt.OSInfo
InnerClasses:
public WindowsVersion = sun.awt.OSInfo$WindowsVersion of sun.awt.OSInfo