public final class org.jruby.util.io.STDIO extends java.lang.Enum<org.jruby.util.io.STDIO>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: org.jruby.util.io.STDIO
super_class: java.lang.Enum
{
public static final org.jruby.util.io.STDIO IN;
descriptor: Lorg/jruby/util/io/STDIO;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.jruby.util.io.STDIO OUT;
descriptor: Lorg/jruby/util/io/STDIO;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.jruby.util.io.STDIO ERR;
descriptor: Lorg/jruby/util/io/STDIO;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private static volatile int[] $SWITCH_TABLE$org$jruby$util$io$STDIO;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private static final org.jruby.util.io.STDIO[] ENUM$VALUES;
descriptor: [Lorg/jruby/util/io/STDIO;
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.util.io.STDIO
dup
ldc "IN"
iconst_0
invokespecial org.jruby.util.io.STDIO.<init>:(Ljava/lang/String;I)V
putstatic org.jruby.util.io.STDIO.IN:Lorg/jruby/util/io/STDIO;
new org.jruby.util.io.STDIO
dup
ldc "OUT"
iconst_1
invokespecial org.jruby.util.io.STDIO.<init>:(Ljava/lang/String;I)V
putstatic org.jruby.util.io.STDIO.OUT:Lorg/jruby/util/io/STDIO;
new org.jruby.util.io.STDIO
dup
ldc "ERR"
iconst_2
invokespecial org.jruby.util.io.STDIO.<init>:(Ljava/lang/String;I)V
putstatic org.jruby.util.io.STDIO.ERR:Lorg/jruby/util/io/STDIO;
1: iconst_3
anewarray org.jruby.util.io.STDIO
dup
iconst_0
getstatic org.jruby.util.io.STDIO.IN:Lorg/jruby/util/io/STDIO;
aastore
dup
iconst_1
getstatic org.jruby.util.io.STDIO.OUT:Lorg/jruby/util/io/STDIO;
aastore
dup
iconst_2
getstatic org.jruby.util.io.STDIO.ERR:Lorg/jruby/util/io/STDIO;
aastore
putstatic org.jruby.util.io.STDIO.ENUM$VALUES:[Lorg/jruby/util/io/STDIO;
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/util/io/STDIO;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
public int fileno();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic org.jruby.util.io.STDIO.$SWITCH_TABLE$org$jruby$util$io$STDIO:()[I
aload 0
invokevirtual org.jruby.util.io.STDIO.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 1
2: 2
3: 3
default: 4
}
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_2
ireturn
4: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
invokespecial java.lang.RuntimeException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/util/io/STDIO;
public static boolean isSTDIO(int);
descriptor: (I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iflt 2
iload 0
iconst_2
if_icmpgt 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 fileno I
MethodParameters:
Name Flags
fileno
public boolean isJVMDefault(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: invokestatic org.jruby.util.io.STDIO.$SWITCH_TABLE$org$jruby$util$io$STDIO:()[I
aload 0
invokevirtual org.jruby.util.io.STDIO.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 1
2: 3
3: 5
default: 7
}
1: StackMap locals:
StackMap stack:
aload 1
getstatic java.lang.System.in:Ljava/io/InputStream;
if_acmpne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
getstatic java.lang.System.out:Ljava/io/PrintStream;
if_acmpne 4
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 1
getstatic java.lang.System.err:Ljava/io/PrintStream;
if_acmpne 6
iconst_1
ireturn
StackMap locals:
StackMap stack:
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/util/io/STDIO;
0 8 1 stream Ljava/lang/Object;
MethodParameters:
Name Flags
stream
public static org.jruby.util.io.STDIO[] values();
descriptor: ()[Lorg/jruby/util/io/STDIO;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic org.jruby.util.io.STDIO.ENUM$VALUES:[Lorg/jruby/util/io/STDIO;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray org.jruby.util.io.STDIO
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.util.io.STDIO valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/util/io/STDIO;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lorg/jruby/util/io/STDIO;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.jruby.util.io.STDIO
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
static int[] $SWITCH_TABLE$org$jruby$util$io$STDIO();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.jruby.util.io.STDIO.$SWITCH_TABLE$org$jruby$util$io$STDIO:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.jruby.util.io.STDIO.values:()[Lorg/jruby/util/io/STDIO;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.jruby.util.io.STDIO.ERR:Lorg/jruby/util/io/STDIO;
invokevirtual org.jruby.util.io.STDIO.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.jruby.util.io.STDIO.IN:Lorg/jruby/util/io/STDIO;
invokevirtual org.jruby.util.io.STDIO.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.jruby.util.io.STDIO.OUT:Lorg/jruby/util/io/STDIO;
invokevirtual org.jruby.util.io.STDIO.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic org.jruby.util.io.STDIO.$SWITCH_TABLE$org$jruby$util$io$STDIO:[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
}
Signature: Ljava/lang/Enum<Lorg/jruby/util/io/STDIO;>;
SourceFile: "STDIO.java"