public class org.jruby.ir.operands.Symbol extends org.jruby.ir.operands.ImmutableLiteral 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.Symbol
super_class: org.jruby.ir.operands.ImmutableLiteral
{
public static final org.jruby.ir.operands.Symbol KW_REST_ARG_DUMMY;
descriptor: Lorg/jruby/ir/operands/Symbol;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final org.jruby.RubySymbol symbol;
descriptor: Lorg/jruby/RubySymbol;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new org.jruby.ir.operands.Symbol
dup
aconst_null
invokespecial org.jruby.ir.operands.Symbol.<init>:(Lorg/jruby/RubySymbol;)V
putstatic org.jruby.ir.operands.Symbol.KW_REST_ARG_DUMMY:Lorg/jruby/ir/operands/Symbol;
return
LocalVariableTable:
Start End Slot Name Signature
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
invokespecial org.jruby.ir.operands.ImmutableLiteral.<init>:()V
1: aload 0
aload 1
putfield org.jruby.ir.operands.Symbol.symbol:Lorg/jruby/RubySymbol;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/operands/Symbol;
0 3 1 symbol Lorg/jruby/RubySymbol;
MethodParameters:
Name Flags
symbol
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.Symbol
ifeq 4
1: aload 0
getstatic org.jruby.ir.operands.Symbol.KW_REST_ARG_DUMMY:Lorg/jruby/ir/operands/Symbol;
if_acmpne 2
aload 1
getstatic org.jruby.ir.operands.Symbol.KW_REST_ARG_DUMMY:Lorg/jruby/ir/operands/Symbol;
if_acmpeq 3
StackMap locals:
StackMap stack:
2: aload 0
getfield org.jruby.ir.operands.Symbol.symbol:Lorg/jruby/RubySymbol;
aload 1
checkcast org.jruby.ir.operands.Symbol
getfield org.jruby.ir.operands.Symbol.symbol:Lorg/jruby/RubySymbol;
invokevirtual org.jruby.RubySymbol.equals:(Ljava/lang/Object;)Z
ifeq 4
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ir/operands/Symbol;
0 5 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other
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.SYMBOL:Lorg/jruby/ir/operands/OperandType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/Symbol;
public org.jruby.util.ByteList getBytes();
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.Symbol.symbol:Lorg/jruby/RubySymbol;
invokevirtual org.jruby.RubySymbol.getBytes:()Lorg/jruby/util/ByteList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/Symbol;
public org.jruby.RubySymbol getSymbol();
descriptor: ()Lorg/jruby/RubySymbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.Symbol.symbol:Lorg/jruby/RubySymbol;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/Symbol;
public java.lang.String getString();
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.Symbol.symbol:Lorg/jruby/RubySymbol;
invokevirtual org.jruby.RubySymbol.idString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/Symbol;
public java.lang.Object createCacheObject(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ir.operands.Symbol.symbol:Lorg/jruby/RubySymbol;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/Symbol;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
public boolean canCopyPropagate();
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/Symbol;
public org.jcodings.Encoding getEncoding();
descriptor: ()Lorg/jcodings/Encoding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.Symbol.symbol:Lorg/jruby/RubySymbol;
invokevirtual org.jruby.RubySymbol.getEncoding:()Lorg/jcodings/Encoding;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/Symbol;
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 ":'"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.jruby.ir.operands.Symbol.getString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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/Symbol;
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
invokevirtual org.jruby.ir.operands.Symbol.getBytes:()Lorg/jruby/util/ByteList;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/util/ByteList;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/operands/Symbol;
0 3 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.operands.Symbol decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/operands/Symbol;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.jruby.ir.operands.Symbol
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeSymbol:()Lorg/jruby/RubySymbol;
invokespecial org.jruby.ir.operands.Symbol.<init>:(Lorg/jruby/RubySymbol;)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.Symbol:(Lorg/jruby/ir/operands/Symbol;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/Symbol;
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/Symbol;
}
SourceFile: "Symbol.java"