public class org.jruby.ir.operands.Regexp extends org.jruby.ir.operands.ImmutableLiteral
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.operands.Regexp
super_class: org.jruby.ir.operands.ImmutableLiteral
{
public final org.jruby.util.RegexpOptions options;
descriptor: Lorg/jruby/util/RegexpOptions;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private final org.jruby.util.ByteList source;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.jruby.util.ByteList, org.jruby.util.RegexpOptions);
descriptor: (Lorg/jruby/util/ByteList;Lorg/jruby/util/RegexpOptions;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.jruby.ir.operands.ImmutableLiteral.<init>:()V
1: aload 0
aload 1
putfield org.jruby.ir.operands.Regexp.source:Lorg/jruby/util/ByteList;
2: aload 0
aload 2
putfield org.jruby.ir.operands.Regexp.options:Lorg/jruby/util/RegexpOptions;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/operands/Regexp;
0 4 1 source Lorg/jruby/util/ByteList;
0 4 2 options Lorg/jruby/util/RegexpOptions;
MethodParameters:
Name Flags
source
options
public org.jruby.ir.operands.OperandType getOperandType();
descriptor: ()Lorg/jruby/ir/operands/OperandType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.jruby.ir.operands.OperandType.REGEXP:Lorg/jruby/ir/operands/OperandType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/Regexp;
public org.jruby.util.ByteList getSource();
descriptor: ()Lorg/jruby/util/ByteList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.Regexp.source:Lorg/jruby/util/ByteList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/Regexp;
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 "RE:|"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ir.operands.Regexp.source:Lorg/jruby/util/ByteList;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "|"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.ir.operands.Regexp.options:Lorg/jruby/util/RegexpOptions;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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 Lorg/jruby/ir/operands/Regexp;
public java.lang.Object createCacheObject(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.jruby.ir.operands.Regexp.source:Lorg/jruby/util/ByteList;
aload 0
getfield org.jruby.ir.operands.Regexp.options:Lorg/jruby/util/RegexpOptions;
invokestatic org.jruby.ir.runtime.IRRuntimeHelpers.newLiteralRegexp:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/ByteList;Lorg/jruby/util/RegexpOptions;)Lorg/jruby/RubyRegexp;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/Regexp;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
public void encode(org.jruby.ir.persistence.IRWriterEncoder);
descriptor: (Lorg/jruby/ir/persistence/IRWriterEncoder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.jruby.ir.operands.ImmutableLiteral.encode:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
1: aload 1
aload 0
getfield org.jruby.ir.operands.Regexp.source:Lorg/jruby/util/ByteList;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/util/ByteList;)V
2: aload 1
aload 0
getfield org.jruby.ir.operands.Regexp.options:Lorg/jruby/util/RegexpOptions;
invokevirtual org.jruby.util.RegexpOptions.toEmbeddedOptions:()I
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/operands/Regexp;
0 4 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.operands.Regexp decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/operands/Regexp;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.jruby.ir.operands.Regexp
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeByteList:()Lorg/jruby/util/ByteList;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
invokestatic org.jruby.util.RegexpOptions.fromEmbeddedOptions:(I)Lorg/jruby/util/RegexpOptions;
invokespecial org.jruby.ir.operands.Regexp.<init>:(Lorg/jruby/util/ByteList;Lorg/jruby/util/RegexpOptions;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 d Lorg/jruby/ir/persistence/IRReaderDecoder;
MethodParameters:
Name Flags
d
public void visit(org.jruby.ir.IRVisitor);
descriptor: (Lorg/jruby/ir/IRVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.ir.IRVisitor.Regexp:(Lorg/jruby/ir/operands/Regexp;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/Regexp;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
public boolean isTruthyImmediate();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/Regexp;
}
SourceFile: "Regexp.java"