public final class org.jruby.CompatVersion extends java.lang.Enum<org.jruby.CompatVersion>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: org.jruby.CompatVersion
super_class: java.lang.Enum
{
public static final org.jruby.CompatVersion RUBY1_8;
descriptor: Lorg/jruby/CompatVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.CompatVersion RUBY1_9;
descriptor: Lorg/jruby/CompatVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.CompatVersion RUBY2_0;
descriptor: Lorg/jruby/CompatVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.CompatVersion RUBY2_1;
descriptor: Lorg/jruby/CompatVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.CompatVersion BOTH;
descriptor: Lorg/jruby/CompatVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
RuntimeVisibleAnnotations:
java.lang.Deprecated()
private static final org.jruby.CompatVersion[] ENUM$VALUES;
descriptor: [Lorg/jruby/CompatVersion;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.jruby.CompatVersion
dup
ldc "RUBY1_8"
iconst_0
invokespecial org.jruby.CompatVersion.<init>:(Ljava/lang/String;I)V
putstatic org.jruby.CompatVersion.RUBY1_8:Lorg/jruby/CompatVersion;
1: new org.jruby.CompatVersion
dup
ldc "RUBY1_9"
iconst_1
invokespecial org.jruby.CompatVersion.<init>:(Ljava/lang/String;I)V
putstatic org.jruby.CompatVersion.RUBY1_9:Lorg/jruby/CompatVersion;
2: new org.jruby.CompatVersion
dup
ldc "RUBY2_0"
iconst_2
invokespecial org.jruby.CompatVersion.<init>:(Ljava/lang/String;I)V
putstatic org.jruby.CompatVersion.RUBY2_0:Lorg/jruby/CompatVersion;
3: new org.jruby.CompatVersion
dup
ldc "RUBY2_1"
iconst_3
invokespecial org.jruby.CompatVersion.<init>:(Ljava/lang/String;I)V
putstatic org.jruby.CompatVersion.RUBY2_1:Lorg/jruby/CompatVersion;
4: new org.jruby.CompatVersion
dup
ldc "BOTH"
iconst_4
invokespecial org.jruby.CompatVersion.<init>:(Ljava/lang/String;I)V
putstatic org.jruby.CompatVersion.BOTH:Lorg/jruby/CompatVersion;
5: iconst_5
anewarray org.jruby.CompatVersion
dup
iconst_0
getstatic org.jruby.CompatVersion.RUBY1_8:Lorg/jruby/CompatVersion;
aastore
dup
iconst_1
getstatic org.jruby.CompatVersion.RUBY1_9:Lorg/jruby/CompatVersion;
aastore
dup
iconst_2
getstatic org.jruby.CompatVersion.RUBY2_0:Lorg/jruby/CompatVersion;
aastore
dup
iconst_3
getstatic org.jruby.CompatVersion.RUBY2_1:Lorg/jruby/CompatVersion;
aastore
dup
iconst_4
getstatic org.jruby.CompatVersion.BOTH:Lorg/jruby/CompatVersion;
aastore
putstatic org.jruby.CompatVersion.ENUM$VALUES:[Lorg/jruby/CompatVersion;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/CompatVersion;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
public boolean is1_9();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jruby.CompatVersion.RUBY1_9:Lorg/jruby/CompatVersion;
if_acmpeq 1
aload 0
getstatic org.jruby.CompatVersion.RUBY2_0:Lorg/jruby/CompatVersion;
if_acmpeq 1
aload 0
getstatic org.jruby.CompatVersion.RUBY2_1:Lorg/jruby/CompatVersion;
if_acmpeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/CompatVersion;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public boolean is2_0();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jruby.CompatVersion.RUBY2_0:Lorg/jruby/CompatVersion;
if_acmpeq 1
aload 0
getstatic org.jruby.CompatVersion.RUBY2_1:Lorg/jruby/CompatVersion;
if_acmpeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/CompatVersion;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static org.jruby.CompatVersion getVersionFromString(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/CompatVersion;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "RUBY1_8"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: getstatic org.jruby.CompatVersion.RUBY1_8:Lorg/jruby/CompatVersion;
areturn
2: StackMap locals:
StackMap stack:
aload 0
ldc "1.8"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: getstatic org.jruby.CompatVersion.RUBY1_8:Lorg/jruby/CompatVersion;
areturn
4: StackMap locals:
StackMap stack:
aload 0
ldc "RUBY1_9"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
5: getstatic org.jruby.CompatVersion.RUBY1_9:Lorg/jruby/CompatVersion;
areturn
6: StackMap locals:
StackMap stack:
aload 0
ldc "1.9"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
7: getstatic org.jruby.CompatVersion.RUBY1_9:Lorg/jruby/CompatVersion;
areturn
8: StackMap locals:
StackMap stack:
aload 0
ldc "RUBY2_0"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
9: getstatic org.jruby.CompatVersion.RUBY2_0:Lorg/jruby/CompatVersion;
areturn
10: StackMap locals:
StackMap stack:
aload 0
ldc "2.0"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
11: getstatic org.jruby.CompatVersion.RUBY2_0:Lorg/jruby/CompatVersion;
areturn
12: StackMap locals:
StackMap stack:
aload 0
ldc "RUBY2_1"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 14
13: getstatic org.jruby.CompatVersion.RUBY2_1:Lorg/jruby/CompatVersion;
areturn
14: StackMap locals:
StackMap stack:
aload 0
ldc "2.1"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 16
15: getstatic org.jruby.CompatVersion.RUBY2_1:Lorg/jruby/CompatVersion;
areturn
16: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 compatString Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
compatString
public static boolean shouldBindMethod(org.jruby.CompatVersion, org.jruby.CompatVersion);
descriptor: (Lorg/jruby/CompatVersion;Lorg/jruby/CompatVersion;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.jruby.CompatVersion.RUBY1_8:Lorg/jruby/CompatVersion;
if_acmpne 2
aload 1
getstatic org.jruby.CompatVersion.RUBY1_8:Lorg/jruby/CompatVersion;
if_acmpeq 1
aload 1
getstatic org.jruby.CompatVersion.BOTH:Lorg/jruby/CompatVersion;
if_acmpeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.jruby.CompatVersion.RUBY1_9:Lorg/jruby/CompatVersion;
if_acmpne 4
aload 1
getstatic org.jruby.CompatVersion.RUBY1_9:Lorg/jruby/CompatVersion;
if_acmpeq 3
aload 1
getstatic org.jruby.CompatVersion.BOTH:Lorg/jruby/CompatVersion;
if_acmpeq 3
iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getstatic org.jruby.CompatVersion.RUBY2_0:Lorg/jruby/CompatVersion;
if_acmpne 6
aload 1
getstatic org.jruby.CompatVersion.RUBY1_9:Lorg/jruby/CompatVersion;
if_acmpeq 5
aload 1
getstatic org.jruby.CompatVersion.RUBY2_0:Lorg/jruby/CompatVersion;
if_acmpeq 5
aload 1
getstatic org.jruby.CompatVersion.BOTH:Lorg/jruby/CompatVersion;
if_acmpeq 5
iconst_0
ireturn
StackMap locals:
StackMap stack:
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getstatic org.jruby.CompatVersion.RUBY2_1:Lorg/jruby/CompatVersion;
if_acmpne 8
aload 1
getstatic org.jruby.CompatVersion.RUBY1_9:Lorg/jruby/CompatVersion;
if_acmpeq 7
aload 1
getstatic org.jruby.CompatVersion.RUBY2_0:Lorg/jruby/CompatVersion;
if_acmpeq 7
aload 1
getstatic org.jruby.CompatVersion.RUBY2_1:Lorg/jruby/CompatVersion;
if_acmpeq 7
aload 1
getstatic org.jruby.CompatVersion.BOTH:Lorg/jruby/CompatVersion;
if_acmpeq 7
iconst_0
ireturn
StackMap locals:
StackMap stack:
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 runtimeVersion Lorg/jruby/CompatVersion;
0 9 1 methodVersion Lorg/jruby/CompatVersion;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtimeVersion
methodVersion
public static org.jruby.CompatVersion[] values();
descriptor: ()[Lorg/jruby/CompatVersion;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic org.jruby.CompatVersion.ENUM$VALUES:[Lorg/jruby/CompatVersion;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray org.jruby.CompatVersion
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.jruby.CompatVersion valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/CompatVersion;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lorg/jruby/CompatVersion;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.jruby.CompatVersion
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lorg/jruby/CompatVersion;>;
SourceFile: "CompatVersion.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()