final class org.jruby.runtime.encoding.EncodingService$SpecialEncoding extends java.lang.Enum<org.jruby.runtime.encoding.EncodingService$SpecialEncoding>
minor version: 0
major version: 59
flags: flags: (0x4030) ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: org.jruby.runtime.encoding.EncodingService$SpecialEncoding
super_class: java.lang.Enum
{
public static final org.jruby.runtime.encoding.EncodingService$SpecialEncoding LOCALE;
descriptor: Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.jruby.runtime.encoding.EncodingService$SpecialEncoding EXTERNAL;
descriptor: Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.jruby.runtime.encoding.EncodingService$SpecialEncoding INTERNAL;
descriptor: Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.jruby.runtime.encoding.EncodingService$SpecialEncoding FILESYSTEM;
descriptor: Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private static volatile int[] $SWITCH_TABLE$org$jruby$runtime$encoding$EncodingService$SpecialEncoding;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private static final org.jruby.runtime.encoding.EncodingService$SpecialEncoding[] ENUM$VALUES;
descriptor: [Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
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.runtime.encoding.EncodingService$SpecialEncoding
dup
ldc "LOCALE"
iconst_0
invokespecial org.jruby.runtime.encoding.EncodingService$SpecialEncoding.<init>:(Ljava/lang/String;I)V
putstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.LOCALE:Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
new org.jruby.runtime.encoding.EncodingService$SpecialEncoding
dup
ldc "EXTERNAL"
iconst_1
invokespecial org.jruby.runtime.encoding.EncodingService$SpecialEncoding.<init>:(Ljava/lang/String;I)V
putstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.EXTERNAL:Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
new org.jruby.runtime.encoding.EncodingService$SpecialEncoding
dup
ldc "INTERNAL"
iconst_2
invokespecial org.jruby.runtime.encoding.EncodingService$SpecialEncoding.<init>:(Ljava/lang/String;I)V
putstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.INTERNAL:Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
new org.jruby.runtime.encoding.EncodingService$SpecialEncoding
dup
ldc "FILESYSTEM"
iconst_3
invokespecial org.jruby.runtime.encoding.EncodingService$SpecialEncoding.<init>:(Ljava/lang/String;I)V
putstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.FILESYSTEM:Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
1: iconst_4
anewarray org.jruby.runtime.encoding.EncodingService$SpecialEncoding
dup
iconst_0
getstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.LOCALE:Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
aastore
dup
iconst_1
getstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.EXTERNAL:Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
aastore
dup
iconst_2
getstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.INTERNAL:Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
aastore
dup
iconst_3
getstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.FILESYSTEM:Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
aastore
putstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.ENUM$VALUES:[Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
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/runtime/encoding/EncodingService$SpecialEncoding;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
public static org.jruby.runtime.encoding.EncodingService$SpecialEncoding valueOf(org.jruby.util.ByteList);
descriptor: (Lorg/jruby/util/ByteList;)Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jruby.runtime.encoding.EncodingService.LOCALE_BL:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.caseInsensitiveCmp:(Lorg/jruby/util/ByteList;)I
ifne 2
1: getstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.LOCALE:Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.jruby.runtime.encoding.EncodingService.EXTERNAL_BL:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.caseInsensitiveCmp:(Lorg/jruby/util/ByteList;)I
ifne 4
3: getstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.EXTERNAL:Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getstatic org.jruby.runtime.encoding.EncodingService.INTERNAL_BL:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.caseInsensitiveCmp:(Lorg/jruby/util/ByteList;)I
ifne 6
5: getstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.INTERNAL:Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
areturn
6: StackMap locals:
StackMap stack:
aload 0
getstatic org.jruby.runtime.encoding.EncodingService.FILESYSTEM_BL:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.caseInsensitiveCmp:(Lorg/jruby/util/ByteList;)I
ifne 8
7: getstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.FILESYSTEM:Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
areturn
8: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 name Lorg/jruby/util/ByteList;
MethodParameters:
Name Flags
name
public org.jcodings.Encoding toEncoding(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)Lorg/jcodings/Encoding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: invokestatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.$SWITCH_TABLE$org$jruby$runtime$encoding$EncodingService$SpecialEncoding:()[I
aload 0
invokevirtual org.jruby.runtime.encoding.EncodingService$SpecialEncoding.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 1
2: 2
3: 3
4: 4
default: 5
}
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
invokevirtual org.jruby.runtime.encoding.EncodingService.getLocaleEncoding:()Lorg/jcodings/Encoding;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jruby.Ruby.getDefaultExternalEncoding:()Lorg/jcodings/Encoding;
areturn
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jruby.Ruby.getDefaultInternalEncoding:()Lorg/jcodings/Encoding;
areturn
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jruby.Ruby.getDefaultFilesystemEncoding:()Lorg/jcodings/Encoding;
areturn
5: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "invalid SpecialEncoding: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
0 6 1 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
runtime
public static org.jruby.runtime.encoding.EncodingService$SpecialEncoding[] values();
descriptor: ()[Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.ENUM$VALUES:[Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray org.jruby.runtime.encoding.EncodingService$SpecialEncoding
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.runtime.encoding.EncodingService$SpecialEncoding valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.jruby.runtime.encoding.EncodingService$SpecialEncoding
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
static int[] $SWITCH_TABLE$org$jruby$runtime$encoding$EncodingService$SpecialEncoding();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.$SWITCH_TABLE$org$jruby$runtime$encoding$EncodingService$SpecialEncoding:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.values:()[Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.EXTERNAL:Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
invokevirtual org.jruby.runtime.encoding.EncodingService$SpecialEncoding.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.FILESYSTEM:Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
invokevirtual org.jruby.runtime.encoding.EncodingService$SpecialEncoding.ordinal:()I
iconst_4
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.INTERNAL:Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
invokevirtual org.jruby.runtime.encoding.EncodingService$SpecialEncoding.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.LOCALE:Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;
invokevirtual org.jruby.runtime.encoding.EncodingService$SpecialEncoding.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.jruby.runtime.encoding.EncodingService$SpecialEncoding.$SWITCH_TABLE$org$jruby$runtime$encoding$EncodingService$SpecialEncoding:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
Signature: Ljava/lang/Enum<Lorg/jruby/runtime/encoding/EncodingService$SpecialEncoding;>;
SourceFile: "EncodingService.java"
NestHost: org.jruby.runtime.encoding.EncodingService
InnerClasses:
private final SpecialEncoding = org.jruby.runtime.encoding.EncodingService$SpecialEncoding of org.jruby.runtime.encoding.EncodingService