public class org.jruby.ir.operands.FrozenString extends org.jruby.ir.operands.ImmutableLiteral<org.jruby.RubyString> implements org.jruby.ir.operands.Stringable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.operands.FrozenString
super_class: org.jruby.ir.operands.ImmutableLiteral
{
public final org.jruby.util.ByteList bytelist;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int coderange;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public java.lang.String string;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
public final java.lang.String file;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int line;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public void <init>(org.jruby.util.ByteList, int, java.lang.String, int);
descriptor: (Lorg/jruby/util/ByteList;ILjava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial org.jruby.ir.operands.ImmutableLiteral.<init>:()V
1: aload 0
aload 1
putfield org.jruby.ir.operands.FrozenString.bytelist:Lorg/jruby/util/ByteList;
2: aload 0
iload 2
putfield org.jruby.ir.operands.FrozenString.coderange:I
3: aload 0
aload 3
putfield org.jruby.ir.operands.FrozenString.file:Ljava/lang/String;
4: aload 0
iload 4
putfield org.jruby.ir.operands.FrozenString.line:I
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ir/operands/FrozenString;
0 6 1 bytelist Lorg/jruby/util/ByteList;
0 6 2 coderange I
0 6 3 file Ljava/lang/String;
0 6 4 line I
MethodParameters:
Name Flags
bytelist
coderange
file
line
public void <init>(org.jruby.RubySymbol);
descriptor: (Lorg/jruby/RubySymbol;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.RubySymbol.getBytes:()Lorg/jruby/util/ByteList;
invokespecial org.jruby.ir.operands.FrozenString.<init>:(Lorg/jruby/util/ByteList;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/FrozenString;
0 2 1 symbol Lorg/jruby/RubySymbol;
MethodParameters:
Name Flags
symbol
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.jruby.util.ByteList.create:(Ljava/lang/CharSequence;)Lorg/jruby/util/ByteList;
invokespecial org.jruby.ir.operands.FrozenString.<init>:(Lorg/jruby/util/ByteList;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/FrozenString;
0 2 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
private void <init>(org.jruby.util.ByteList);
descriptor: (Lorg/jruby/util/ByteList;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.jruby.ir.operands.ImmutableLiteral.<init>:()V
1: aload 0
aload 1
putfield org.jruby.ir.operands.FrozenString.bytelist:Lorg/jruby/util/ByteList;
2: aload 0
bipush 16
putfield org.jruby.ir.operands.FrozenString.coderange:I
3: aload 0
ldc "<dummy>"
putfield org.jruby.ir.operands.FrozenString.file:Ljava/lang/String;
4: aload 0
iconst_m1
putfield org.jruby.ir.operands.FrozenString.line:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ir/operands/FrozenString;
0 6 1 byteList Lorg/jruby/util/ByteList;
MethodParameters:
Name Flags
byteList
private static java.lang.String internedStringFromByteList(org.jruby.util.ByteList);
descriptor: (Lorg/jruby/util/ByteList;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.jruby.runtime.Helpers.byteListToString:(Lorg/jruby/util/ByteList;)Ljava/lang/String;
invokevirtual java.lang.String.intern:()Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.nio.charset.UnsupportedCharsetException
pop
3: aload 0
invokevirtual org.jruby.util.ByteList.toString:()Ljava/lang/String;
invokevirtual java.lang.String.intern:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 val Lorg/jruby/util/ByteList;
Exception table:
from to target type
0 1 2 Class java.nio.charset.UnsupportedCharsetException
MethodParameters:
Name Flags
val
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.FROZEN_STRING:Lorg/jruby/ir/operands/OperandType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/FrozenString;
public boolean hasKnownValue();
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/FrozenString;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.FrozenString.bytelist:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/FrozenString;
public boolean equals(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: aload 1
instanceof org.jruby.ir.operands.FrozenString
ifeq 1
aload 0
getfield org.jruby.ir.operands.FrozenString.bytelist:Lorg/jruby/util/ByteList;
aload 1
checkcast org.jruby.ir.operands.FrozenString
getfield org.jruby.ir.operands.FrozenString.bytelist:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.equals:(Ljava/lang/Object;)Z
ifeq 1
aload 0
getfield org.jruby.ir.operands.FrozenString.coderange:I
aload 1
checkcast org.jruby.ir.operands.FrozenString
getfield org.jruby.ir.operands.FrozenString.coderange:I
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/FrozenString;
0 2 1 other Ljava/lang/Object;
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 "frozen:\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ir.operands.FrozenString.bytelist: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;
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/FrozenString;
public org.jruby.ir.operands.Operand cloneForInlining(org.jruby.ir.transformations.inlining.CloneInfo);
descriptor: (Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/operands/Operand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/FrozenString;
0 1 1 ii Lorg/jruby/ir/transformations/inlining/CloneInfo;
MethodParameters:
Name Flags
ii
public org.jruby.RubyString createCacheObject(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.jruby.ir.operands.FrozenString.bytelist:Lorg/jruby/util/ByteList;
aload 0
getfield org.jruby.ir.operands.FrozenString.coderange:I
aload 0
getfield org.jruby.ir.operands.FrozenString.file:Ljava/lang/String;
aload 0
getfield org.jruby.ir.operands.FrozenString.line:I
invokestatic org.jruby.ir.runtime.IRRuntimeHelpers.newFrozenString:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/ByteList;ILjava/lang/String;I)Lorg/jruby/RubyString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/FrozenString;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
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.FrozenString:(Lorg/jruby/ir/operands/FrozenString;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/FrozenString;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
public org.jruby.util.ByteList getByteList();
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.FrozenString.bytelist:Lorg/jruby/util/ByteList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/FrozenString;
public java.lang.String getString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.FrozenString.string:Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
aload 0
getfield org.jruby.ir.operands.FrozenString.bytelist:Lorg/jruby/util/ByteList;
invokestatic org.jruby.ir.operands.FrozenString.internedStringFromByteList:(Lorg/jruby/util/ByteList;)Ljava/lang/String;
dup
astore 1
putfield org.jruby.ir.operands.FrozenString.string:Ljava/lang/String;
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/operands/FrozenString;
1 4 1 cached Ljava/lang/String;
public java.lang.String getFile();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.FrozenString.file:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/FrozenString;
public int getLine();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.FrozenString.line:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/FrozenString;
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.FrozenString.bytelist: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.FrozenString.coderange:I
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
3: aload 1
aload 0
getfield org.jruby.ir.operands.FrozenString.file:Ljava/lang/String;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Ljava/lang/String;)V
4: aload 1
aload 0
getfield org.jruby.ir.operands.FrozenString.line:I
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ir/operands/FrozenString;
0 6 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.operands.FrozenString decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/operands/FrozenString;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new org.jruby.ir.operands.FrozenString
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeByteList:()Lorg/jruby/util/ByteList;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeString:()Ljava/lang/String;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
invokespecial org.jruby.ir.operands.FrozenString.<init>:(Lorg/jruby/util/ByteList;ILjava/lang/String;I)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 int getCodeRange();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.FrozenString.coderange:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/FrozenString;
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/FrozenString;
public java.lang.Object createCacheObject(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.jruby.ir.operands.FrozenString.createCacheObject:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyString;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/jruby/ir/operands/ImmutableLiteral<Lorg/jruby/RubyString;>;Lorg/jruby/ir/operands/Stringable;
SourceFile: "FrozenString.java"