public class org.jruby.util.RegexpOptions implements java.lang.Cloneable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.util.RegexpOptions
super_class: java.lang.Object
{
private static final org.jruby.util.ByteList WINDOWS31J;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final org.jruby.util.RegexpOptions NULL_OPTIONS;
descriptor: Lorg/jruby/util/RegexpOptions;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private org.jruby.util.KCode kcode;
descriptor: Lorg/jruby/util/KCode;
flags: (0x0002) ACC_PRIVATE
private boolean fixed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean once;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean extended;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean multiline;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean ignorecase;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean java;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean encodingNone;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean kcodeDefault;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean literal;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: ldc Lorg/jruby/util/RegexpOptions;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.jruby.util.RegexpOptions.$assertionsDisabled:Z
3: new org.jruby.util.ByteList
dup
bipush 11
newarray 8
dup
iconst_0
bipush 87
bastore
dup
iconst_1
bipush 105
bastore
dup
iconst_2
bipush 110
bastore
dup
iconst_3
bipush 100
bastore
dup
iconst_4
bipush 111
bastore
dup
iconst_5
bipush 119
bastore
dup
bipush 6
bipush 115
bastore
dup
bipush 7
bipush 45
bastore
dup
bipush 8
bipush 51
bastore
dup
bipush 9
bipush 49
bastore
dup
bipush 10
bipush 74
bastore
iconst_0
invokespecial org.jruby.util.ByteList.<init>:([BZ)V
putstatic org.jruby.util.RegexpOptions.WINDOWS31J:Lorg/jruby/util/ByteList;
4: new org.jruby.util.RegexpOptions
dup
getstatic org.jruby.util.KCode.NONE:Lorg/jruby/util/KCode;
iconst_1
invokespecial org.jruby.util.RegexpOptions.<init>:(Lorg/jruby/util/KCode;Z)V
putstatic org.jruby.util.RegexpOptions.NULL_OPTIONS:Lorg/jruby/util/RegexpOptions;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jruby.util.KCode.NONE:Lorg/jruby/util/KCode;
iconst_1
invokespecial org.jruby.util.RegexpOptions.<init>:(Lorg/jruby/util/KCode;Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/RegexpOptions;
public void <init>(org.jruby.util.KCode, boolean);
descriptor: (Lorg/jruby/util/KCode;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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
aload 1
putfield org.jruby.util.RegexpOptions.kcode:Lorg/jruby/util/KCode;
2: aload 0
iload 2
putfield org.jruby.util.RegexpOptions.kcodeDefault:Z
3: getstatic org.jruby.util.RegexpOptions.$assertionsDisabled:Z
ifne 4
aload 1
ifnonnull 4
new java.lang.AssertionError
dup
ldc "kcode must always be set to something"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals: org.jruby.util.RegexpOptions org.jruby.util.KCode int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/util/RegexpOptions;
0 5 1 kcode Lorg/jruby/util/KCode;
0 5 2 isKCodeDefault Z
MethodParameters:
Name Flags
kcode
isKCodeDefault
public boolean isExtended();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.RegexpOptions.extended:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/RegexpOptions;
public void setExtended(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.jruby.util.RegexpOptions.extended:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/RegexpOptions;
0 2 1 extended Z
MethodParameters:
Name Flags
extended
public boolean isIgnorecase();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.RegexpOptions.ignorecase:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/RegexpOptions;
public void setIgnorecase(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.jruby.util.RegexpOptions.ignorecase:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/RegexpOptions;
0 2 1 ignorecase Z
MethodParameters:
Name Flags
ignorecase
public boolean isFixed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.RegexpOptions.fixed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/RegexpOptions;
public void setFixed(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.jruby.util.RegexpOptions.fixed:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/RegexpOptions;
0 2 1 fixed Z
MethodParameters:
Name Flags
fixed
public org.jruby.util.KCode getKCode();
descriptor: ()Lorg/jruby/util/KCode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.RegexpOptions.kcode:Lorg/jruby/util/KCode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/RegexpOptions;
public java.lang.String getKCodeName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.util.RegexpOptions.isKcodeDefault:()Z
ifeq 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual org.jruby.util.RegexpOptions.getKCode:()Lorg/jruby/util/KCode;
invokevirtual org.jruby.util.KCode.name:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/util/RegexpOptions;
public void setExplicitKCode(org.jruby.util.KCode);
descriptor: (Lorg/jruby/util/KCode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jruby.util.RegexpOptions.kcode:Lorg/jruby/util/KCode;
1: aload 0
iconst_0
putfield org.jruby.util.RegexpOptions.kcodeDefault:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/util/RegexpOptions;
0 3 1 kcode Lorg/jruby/util/KCode;
MethodParameters:
Name Flags
kcode
private org.jruby.util.KCode getExplicitKCode();
descriptor: ()Lorg/jruby/util/KCode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.RegexpOptions.kcodeDefault:Z
ifeq 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.RegexpOptions.kcode:Lorg/jruby/util/KCode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/RegexpOptions;
public boolean isKcodeDefault();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.RegexpOptions.kcodeDefault:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/RegexpOptions;
public boolean isMultiline();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.RegexpOptions.multiline:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/RegexpOptions;
public void setMultiline(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.jruby.util.RegexpOptions.multiline:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/RegexpOptions;
0 2 1 multiline Z
MethodParameters:
Name Flags
multiline
public boolean isOnce();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.RegexpOptions.once:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/RegexpOptions;
public void setOnce(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.jruby.util.RegexpOptions.once:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/RegexpOptions;
0 2 1 once Z
MethodParameters:
Name Flags
once
public boolean isJava();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.RegexpOptions.java:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/RegexpOptions;
public void setJava(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.jruby.util.RegexpOptions.java:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/RegexpOptions;
0 2 1 java Z
MethodParameters:
Name Flags
java
public boolean isEncodingNone();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.RegexpOptions.encodingNone:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/RegexpOptions;
public void setEncodingNone(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.jruby.util.RegexpOptions.encodingNone:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/RegexpOptions;
0 2 1 encodingNone Z
MethodParameters:
Name Flags
encodingNone
public boolean isLiteral();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.RegexpOptions.literal:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/RegexpOptions;
public void setLiteral(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.jruby.util.RegexpOptions.literal:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/RegexpOptions;
0 2 1 literal Z
MethodParameters:
Name Flags
literal
public boolean isEmbeddable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.RegexpOptions.multiline:Z
ifeq 1
aload 0
getfield org.jruby.util.RegexpOptions.ignorecase:Z
ifeq 1
aload 0
getfield org.jruby.util.RegexpOptions.extended:Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/RegexpOptions;
public org.jcodings.Encoding setup(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)Lorg/jcodings/Encoding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.util.RegexpOptions.getExplicitKCode:()Lorg/jruby/util/KCode;
astore 2
start local 2 1: aload 2
getstatic org.jruby.util.KCode.NONE:Lorg/jruby/util/KCode;
if_acmpne 4
2: aload 0
iconst_1
invokevirtual org.jruby.util.RegexpOptions.setEncodingNone:(Z)V
3: getstatic org.jcodings.specific.ASCIIEncoding.INSTANCE:Lorg/jcodings/specific/ASCIIEncoding;
areturn
4: StackMap locals: org.jruby.util.KCode
StackMap stack:
aload 2
getstatic org.jruby.util.KCode.EUC:Lorg/jruby/util/KCode;
if_acmpne 7
5: aload 0
iconst_1
invokevirtual org.jruby.util.RegexpOptions.setFixed:(Z)V
6: getstatic org.jcodings.specific.EUCJPEncoding.INSTANCE:Lorg/jcodings/specific/EUCJPEncoding;
areturn
7: StackMap locals:
StackMap stack:
aload 2
getstatic org.jruby.util.KCode.SJIS:Lorg/jruby/util/KCode;
if_acmpne 10
8: aload 0
iconst_1
invokevirtual org.jruby.util.RegexpOptions.setFixed:(Z)V
9: aload 1
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
getstatic org.jruby.util.RegexpOptions.WINDOWS31J:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.runtime.encoding.EncodingService.loadEncoding:(Lorg/jruby/util/ByteList;)Lorg/jcodings/Encoding;
areturn
10: StackMap locals:
StackMap stack:
aload 2
getstatic org.jruby.util.KCode.UTF8:Lorg/jruby/util/KCode;
if_acmpne 13
11: aload 0
iconst_1
invokevirtual org.jruby.util.RegexpOptions.setFixed:(Z)V
12: getstatic org.jcodings.specific.UTF8Encoding.INSTANCE:Lorg/jcodings/specific/UTF8Encoding;
areturn
13: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jruby/util/RegexpOptions;
0 14 1 runtime Lorg/jruby/Ruby;
1 14 2 explicitKCode Lorg/jruby/util/KCode;
MethodParameters:
Name Flags
runtime
public int toEmbeddedOptions();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.util.RegexpOptions.toJoniOptions:()I
istore 1
start local 1 1: aload 0
getfield org.jruby.util.RegexpOptions.once:Z
ifeq 2
iload 1
sipush 128
ior
istore 1
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.jruby.util.RegexpOptions.literal:Z
ifeq 3
iload 1
sipush 256
ior
istore 1
3: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.RegexpOptions.kcodeDefault:Z
ifeq 4
iload 1
sipush 512
ior
istore 1
4: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.RegexpOptions.fixed:Z
ifeq 5
iload 1
bipush 16
ior
istore 1
5: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.RegexpOptions.encodingNone:Z
ifeq 6
iload 1
bipush 32
ior
istore 1
6: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/util/RegexpOptions;
1 7 1 options I
public int toJoniOptions();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield org.jruby.util.RegexpOptions.multiline:Z
ifeq 2
iload 1
iconst_4
ior
istore 1
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.jruby.util.RegexpOptions.ignorecase:Z
ifeq 3
iload 1
iconst_1
ior
istore 1
3: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.RegexpOptions.extended:Z
ifeq 4
iload 1
iconst_2
ior
istore 1
4: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/util/RegexpOptions;
1 5 1 options I
public int toOptions();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield org.jruby.util.RegexpOptions.multiline:Z
ifeq 2
iload 1
iconst_4
ior
istore 1
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.jruby.util.RegexpOptions.ignorecase:Z
ifeq 3
iload 1
iconst_1
ior
istore 1
3: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.RegexpOptions.extended:Z
ifeq 4
iload 1
iconst_2
ior
istore 1
4: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.RegexpOptions.fixed:Z
ifeq 5
iload 1
bipush 16
ior
istore 1
5: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.RegexpOptions.encodingNone:Z
ifeq 6
iload 1
bipush 32
ior
istore 1
6: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/util/RegexpOptions;
1 7 1 options I
public static org.jruby.util.RegexpOptions fromEmbeddedOptions(int);
descriptor: (I)Lorg/jruby/util/RegexpOptions;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iload 0
invokestatic org.jruby.util.RegexpOptions.fromJoniOptions:(I)Lorg/jruby/util/RegexpOptions;
astore 1
start local 1 1: aload 1
iload 0
sipush 512
iand
ifeq 2
iconst_1
goto 3
StackMap locals: int org.jruby.util.RegexpOptions
StackMap stack: org.jruby.util.RegexpOptions
2: iconst_0
StackMap locals: int org.jruby.util.RegexpOptions
StackMap stack: org.jruby.util.RegexpOptions int
3: putfield org.jruby.util.RegexpOptions.kcodeDefault:Z
4: aload 1
iload 0
sipush 128
iand
ifeq 5
iconst_1
goto 6
StackMap locals:
StackMap stack: org.jruby.util.RegexpOptions
5: iconst_0
StackMap locals: int org.jruby.util.RegexpOptions
StackMap stack: org.jruby.util.RegexpOptions int
6: invokevirtual org.jruby.util.RegexpOptions.setOnce:(Z)V
7: aload 1
iload 0
sipush 256
iand
ifeq 8
iconst_1
goto 9
StackMap locals:
StackMap stack: org.jruby.util.RegexpOptions
8: iconst_0
StackMap locals: int org.jruby.util.RegexpOptions
StackMap stack: org.jruby.util.RegexpOptions int
9: invokevirtual org.jruby.util.RegexpOptions.setLiteral:(Z)V
10: aload 1
iload 0
bipush 16
iand
ifeq 11
iconst_1
goto 12
StackMap locals:
StackMap stack: org.jruby.util.RegexpOptions
11: iconst_0
StackMap locals: int org.jruby.util.RegexpOptions
StackMap stack: org.jruby.util.RegexpOptions int
12: invokevirtual org.jruby.util.RegexpOptions.setFixed:(Z)V
13: aload 1
iload 0
bipush 32
iand
ifeq 14
iconst_1
goto 15
StackMap locals:
StackMap stack: org.jruby.util.RegexpOptions
14: iconst_0
StackMap locals: int org.jruby.util.RegexpOptions
StackMap stack: org.jruby.util.RegexpOptions int
15: invokevirtual org.jruby.util.RegexpOptions.setEncodingNone:(Z)V
16: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 embeddedOptions I
1 17 1 options Lorg/jruby/util/RegexpOptions;
MethodParameters:
Name Flags
embeddedOptions
public static org.jruby.util.RegexpOptions fromJoniOptions(int);
descriptor: (I)Lorg/jruby/util/RegexpOptions;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new org.jruby.util.RegexpOptions
dup
invokespecial org.jruby.util.RegexpOptions.<init>:()V
astore 1
start local 1 1: aload 1
iload 0
iconst_4
iand
ifeq 2
iconst_1
goto 3
StackMap locals: int org.jruby.util.RegexpOptions
StackMap stack: org.jruby.util.RegexpOptions
2: iconst_0
StackMap locals: int org.jruby.util.RegexpOptions
StackMap stack: org.jruby.util.RegexpOptions int
3: invokevirtual org.jruby.util.RegexpOptions.setMultiline:(Z)V
4: aload 1
iload 0
iconst_1
iand
ifeq 5
iconst_1
goto 6
StackMap locals:
StackMap stack: org.jruby.util.RegexpOptions
5: iconst_0
StackMap locals: int org.jruby.util.RegexpOptions
StackMap stack: org.jruby.util.RegexpOptions int
6: invokevirtual org.jruby.util.RegexpOptions.setIgnorecase:(Z)V
7: aload 1
iload 0
iconst_2
iand
ifeq 8
iconst_1
goto 9
StackMap locals:
StackMap stack: org.jruby.util.RegexpOptions
8: iconst_0
StackMap locals: int org.jruby.util.RegexpOptions
StackMap stack: org.jruby.util.RegexpOptions int
9: invokevirtual org.jruby.util.RegexpOptions.setExtended:(Z)V
10: aload 1
iload 0
bipush 16
iand
ifeq 11
iconst_1
goto 12
StackMap locals:
StackMap stack: org.jruby.util.RegexpOptions
11: iconst_0
StackMap locals: int org.jruby.util.RegexpOptions
StackMap stack: org.jruby.util.RegexpOptions int
12: invokevirtual org.jruby.util.RegexpOptions.setFixed:(Z)V
13: aload 1
iload 0
sipush 128
iand
ifeq 14
iconst_1
goto 15
StackMap locals:
StackMap stack: org.jruby.util.RegexpOptions
14: iconst_0
StackMap locals: int org.jruby.util.RegexpOptions
StackMap stack: org.jruby.util.RegexpOptions int
15: invokevirtual org.jruby.util.RegexpOptions.setOnce:(Z)V
16: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 joniOptions I
1 17 1 options Lorg/jruby/util/RegexpOptions;
MethodParameters:
Name Flags
joniOptions
public org.jruby.util.RegexpOptions withoutOnce();
descriptor: ()Lorg/jruby/util/RegexpOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.util.RegexpOptions.clone:()Lorg/jruby/util/RegexpOptions;
astore 1
start local 1 1: aload 1
iconst_0
invokevirtual org.jruby.util.RegexpOptions.setOnce:(Z)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/util/RegexpOptions;
1 3 1 options Lorg/jruby/util/RegexpOptions;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 7
istore 1
start local 1 1: bipush 11
iload 1
imul
aload 0
getfield org.jruby.util.RegexpOptions.kcode:Lorg/jruby/util/KCode;
ifnull 2
aload 0
getfield org.jruby.util.RegexpOptions.kcode:Lorg/jruby/util/KCode;
invokevirtual org.jruby.util.KCode.hashCode:()I
goto 3
StackMap locals: org.jruby.util.RegexpOptions int
StackMap stack: int
2: iconst_0
StackMap locals: org.jruby.util.RegexpOptions int
StackMap stack: int int
3: iadd
istore 1
4: bipush 11
iload 1
imul
aload 0
getfield org.jruby.util.RegexpOptions.fixed:Z
ifeq 5
iconst_1
goto 6
StackMap locals:
StackMap stack: int
5: iconst_0
StackMap locals: org.jruby.util.RegexpOptions int
StackMap stack: int int
6: iadd
istore 1
7: bipush 11
iload 1
imul
aload 0
getfield org.jruby.util.RegexpOptions.once:Z
ifeq 8
iconst_1
goto 9
StackMap locals:
StackMap stack: int
8: iconst_0
StackMap locals: org.jruby.util.RegexpOptions int
StackMap stack: int int
9: iadd
istore 1
10: bipush 11
iload 1
imul
aload 0
getfield org.jruby.util.RegexpOptions.extended:Z
ifeq 11
iconst_1
goto 12
StackMap locals:
StackMap stack: int
11: iconst_0
StackMap locals: org.jruby.util.RegexpOptions int
StackMap stack: int int
12: iadd
istore 1
13: bipush 11
iload 1
imul
aload 0
getfield org.jruby.util.RegexpOptions.multiline:Z
ifeq 14
iconst_1
goto 15
StackMap locals:
StackMap stack: int
14: iconst_0
StackMap locals: org.jruby.util.RegexpOptions int
StackMap stack: int int
15: iadd
istore 1
16: bipush 11
iload 1
imul
aload 0
getfield org.jruby.util.RegexpOptions.ignorecase:Z
ifeq 17
iconst_1
goto 18
StackMap locals:
StackMap stack: int
17: iconst_0
StackMap locals: org.jruby.util.RegexpOptions int
StackMap stack: int int
18: iadd
istore 1
19: bipush 11
iload 1
imul
aload 0
getfield org.jruby.util.RegexpOptions.java:Z
ifeq 20
iconst_1
goto 21
StackMap locals:
StackMap stack: int
20: iconst_0
StackMap locals: org.jruby.util.RegexpOptions int
StackMap stack: int int
21: iadd
istore 1
22: bipush 11
iload 1
imul
aload 0
getfield org.jruby.util.RegexpOptions.encodingNone:Z
ifeq 23
iconst_1
goto 24
StackMap locals:
StackMap stack: int
23: iconst_0
StackMap locals: org.jruby.util.RegexpOptions int
StackMap stack: int int
24: iadd
istore 1
25: bipush 11
iload 1
imul
aload 0
getfield org.jruby.util.RegexpOptions.kcodeDefault:Z
ifeq 26
iconst_1
goto 27
StackMap locals:
StackMap stack: int
26: iconst_0
StackMap locals: org.jruby.util.RegexpOptions int
StackMap stack: int int
27: iadd
istore 1
28: bipush 11
iload 1
imul
aload 0
getfield org.jruby.util.RegexpOptions.literal:Z
ifeq 29
iconst_1
goto 30
StackMap locals:
StackMap stack: int
29: iconst_0
StackMap locals: org.jruby.util.RegexpOptions int
StackMap stack: int int
30: iadd
istore 1
31: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/jruby/util/RegexpOptions;
1 32 1 hash I
public org.jruby.util.RegexpOptions clone();
descriptor: ()Lorg/jruby/util/RegexpOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
checkcast org.jruby.util.RegexpOptions
1: areturn
2: StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
astore 1
start local 1 3: new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/util/RegexpOptions;
3 4 1 ex Ljava/lang/CloneNotSupportedException;
Exception table:
from to target type
0 1 2 Class java.lang.CloneNotSupportedException
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.util.RegexpOptions
ifne 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.util.RegexpOptions
astore 2
start local 2 2: aload 2
getfield org.jruby.util.RegexpOptions.extended:Z
aload 0
getfield org.jruby.util.RegexpOptions.extended:Z
if_icmpne 8
3: aload 2
getfield org.jruby.util.RegexpOptions.fixed:Z
aload 0
getfield org.jruby.util.RegexpOptions.fixed:Z
if_icmpne 8
4: aload 2
getfield org.jruby.util.RegexpOptions.ignorecase:Z
aload 0
getfield org.jruby.util.RegexpOptions.ignorecase:Z
if_icmpne 8
5: aload 2
getfield org.jruby.util.RegexpOptions.java:Z
aload 0
getfield org.jruby.util.RegexpOptions.java:Z
if_icmpne 8
6: aload 2
getfield org.jruby.util.RegexpOptions.multiline:Z
aload 0
getfield org.jruby.util.RegexpOptions.multiline:Z
if_icmpne 8
7: iconst_1
goto 9
StackMap locals: org.jruby.util.RegexpOptions
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 3
start local 3 10: aload 0
getfield org.jruby.util.RegexpOptions.encodingNone:Z
ifne 11
aload 2
getfield org.jruby.util.RegexpOptions.encodingNone:Z
ifeq 13
11: StackMap locals: int
StackMap stack:
iload 3
ifeq 12
aload 2
getfield org.jruby.util.RegexpOptions.kcode:Lorg/jruby/util/KCode;
aload 0
getfield org.jruby.util.RegexpOptions.kcode:Lorg/jruby/util/KCode;
if_acmpne 12
iconst_1
ireturn
StackMap locals:
StackMap stack:
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack:
iload 3
ifeq 18
14: aload 2
getfield org.jruby.util.RegexpOptions.encodingNone:Z
aload 0
getfield org.jruby.util.RegexpOptions.encodingNone:Z
if_icmpne 18
15: aload 2
getfield org.jruby.util.RegexpOptions.kcode:Lorg/jruby/util/KCode;
aload 0
getfield org.jruby.util.RegexpOptions.kcode:Lorg/jruby/util/KCode;
if_acmpne 18
16: aload 2
getfield org.jruby.util.RegexpOptions.kcodeDefault:Z
aload 0
getfield org.jruby.util.RegexpOptions.kcodeDefault:Z
if_icmpne 18
17: iconst_1
ireturn
StackMap locals:
StackMap stack:
18: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/jruby/util/RegexpOptions;
0 19 1 other Ljava/lang/Object;
2 19 2 o Lorg/jruby/util/RegexpOptions;
10 19 3 equality Z
MethodParameters:
Name Flags
other
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
ldc "RegexpOptions(kcode: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.util.RegexpOptions.kcode:Lorg/jruby/util/KCode;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
1: aload 0
getfield org.jruby.util.RegexpOptions.encodingNone:Z
ifeq 2
ldc ", encodingNone"
goto 3
StackMap locals:
StackMap stack: java.lang.StringBuilder
2: ldc ""
StackMap locals: org.jruby.util.RegexpOptions
StackMap stack: java.lang.StringBuilder java.lang.String
3: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 0
getfield org.jruby.util.RegexpOptions.extended:Z
ifeq 5
ldc ", extended"
goto 6
StackMap locals:
StackMap stack: java.lang.StringBuilder
5: ldc ""
StackMap locals: org.jruby.util.RegexpOptions
StackMap stack: java.lang.StringBuilder java.lang.String
6: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 0
getfield org.jruby.util.RegexpOptions.fixed:Z
ifeq 8
ldc ", fixed"
goto 9
StackMap locals:
StackMap stack: java.lang.StringBuilder
8: ldc ""
StackMap locals: org.jruby.util.RegexpOptions
StackMap stack: java.lang.StringBuilder java.lang.String
9: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: aload 0
getfield org.jruby.util.RegexpOptions.ignorecase:Z
ifeq 11
ldc ", ignorecase"
goto 12
StackMap locals:
StackMap stack: java.lang.StringBuilder
11: ldc ""
StackMap locals: org.jruby.util.RegexpOptions
StackMap stack: java.lang.StringBuilder java.lang.String
12: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: aload 0
getfield org.jruby.util.RegexpOptions.java:Z
ifeq 14
ldc ", java"
goto 15
StackMap locals:
StackMap stack: java.lang.StringBuilder
14: ldc ""
StackMap locals: org.jruby.util.RegexpOptions
StackMap stack: java.lang.StringBuilder java.lang.String
15: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: aload 0
getfield org.jruby.util.RegexpOptions.kcodeDefault:Z
ifeq 17
ldc ", kcodeDefault"
goto 18
StackMap locals:
StackMap stack: java.lang.StringBuilder
17: ldc ""
StackMap locals: org.jruby.util.RegexpOptions
StackMap stack: java.lang.StringBuilder java.lang.String
18: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: aload 0
getfield org.jruby.util.RegexpOptions.literal:Z
ifeq 20
ldc ", literal"
goto 21
StackMap locals:
StackMap stack: java.lang.StringBuilder
20: ldc ""
StackMap locals: org.jruby.util.RegexpOptions
StackMap stack: java.lang.StringBuilder java.lang.String
21: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
22: aload 0
getfield org.jruby.util.RegexpOptions.multiline:Z
ifeq 23
ldc ", multiline"
goto 24
StackMap locals:
StackMap stack: java.lang.StringBuilder
23: ldc ""
StackMap locals: org.jruby.util.RegexpOptions
StackMap stack: java.lang.StringBuilder java.lang.String
24: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
25: aload 0
getfield org.jruby.util.RegexpOptions.once:Z
ifeq 26
ldc ", once"
goto 27
StackMap locals:
StackMap stack: java.lang.StringBuilder
26: ldc ""
StackMap locals: org.jruby.util.RegexpOptions
StackMap stack: java.lang.StringBuilder java.lang.String
27: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
28: ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
29: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/jruby/util/RegexpOptions;
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.jruby.util.RegexpOptions.clone:()Lorg/jruby/util/RegexpOptions;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.CloneNotSupportedException
}
SourceFile: "RegexpOptions.java"