public final class org.jruby.RubyNameError$RubyNameErrorMessage extends org.jruby.RubyObject
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jruby.RubyNameError$RubyNameErrorMessage
super_class: org.jruby.RubyObject
{
private static final org.jruby.runtime.ObjectAllocator ALLOCATOR;
descriptor: Lorg/jruby/runtime/ObjectAllocator;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String message;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.runtime.builtin.IRubyObject object;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.runtime.builtin.IRubyObject name;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokedynamic allocate()Lorg/jruby/runtime/ObjectAllocator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)Lorg/jruby/runtime/builtin/IRubyObject;
org/jruby/RubyNameError$RubyNameErrorMessage.lambda$0(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)Lorg/jruby/runtime/builtin/IRubyObject; (6)
(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)Lorg/jruby/runtime/builtin/IRubyObject;
putstatic org.jruby.RubyNameError$RubyNameErrorMessage.ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 1
invokevirtual org.jruby.Ruby.getNameErrorMessage:()Lorg/jruby/RubyClass;
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
aconst_null
putfield org.jruby.RubyNameError$RubyNameErrorMessage.message:Ljava/lang/String;
2: aload 0
aconst_null
putfield org.jruby.RubyNameError$RubyNameErrorMessage.object:Lorg/jruby/runtime/builtin/IRubyObject;
3: aload 0
aconst_null
putfield org.jruby.RubyNameError$RubyNameErrorMessage.name:Lorg/jruby/runtime/builtin/IRubyObject;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyNameError$RubyNameErrorMessage;
0 5 1 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
runtime
void <init>(org.jruby.Ruby, java.lang.String, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 1
invokevirtual org.jruby.Ruby.getNameErrorMessage:()Lorg/jruby/RubyClass;
iconst_0
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Z)V
1: aload 0
aload 2
putfield org.jruby.RubyNameError$RubyNameErrorMessage.message:Ljava/lang/String;
2: aload 0
aload 3
putfield org.jruby.RubyNameError$RubyNameErrorMessage.object:Lorg/jruby/runtime/builtin/IRubyObject;
3: aload 0
aload 4
putfield org.jruby.RubyNameError$RubyNameErrorMessage.name:Lorg/jruby/runtime/builtin/IRubyObject;
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyNameError$RubyNameErrorMessage;
0 5 1 runtime Lorg/jruby/Ruby;
0 5 2 message Ljava/lang/String;
0 5 3 object Lorg/jruby/runtime/builtin/IRubyObject;
0 5 4 name Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
message
object
name
public static org.jruby.runtime.builtin.IRubyObject load(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 arg Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"_load"}, meta = true)
MethodParameters:
Name Flags
recv
arg
static org.jruby.RubyClass define(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)Lorg/jruby/RubyClass;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "Message"
aload 0
ldc "Data"
invokevirtual org.jruby.Ruby.getClass:(Ljava/lang/String;)Lorg/jruby/RubyClass;
getstatic org.jruby.RubyNameError$RubyNameErrorMessage.ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
invokevirtual org.jruby.RubyClass.defineClassUnder:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 2
start local 2 1: aload 1
aload 0
ldc "Message"
iconst_1
invokevirtual org.jruby.RubyClass.setConstantVisibility:(Lorg/jruby/Ruby;Ljava/lang/String;Z)V
2: aload 2
ldc Lorg/jruby/RubyNameError$RubyNameErrorMessage;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 runtime Lorg/jruby/Ruby;
0 4 1 NameError Lorg/jruby/RubyClass;
1 4 2 Message Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
NameError
public org.jruby.runtime.builtin.IRubyObject dump(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.jruby.RubyNameError$RubyNameErrorMessage.to_str:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyNameError$RubyNameErrorMessage;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"_dump"})
MethodParameters:
Name Flags
context
arg
public org.jruby.runtime.builtin.IRubyObject to_str(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyNameError$RubyNameErrorMessage.message:Ljava/lang/String;
ifnonnull 1
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
1: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 2: aconst_null
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: aload 0
getfield org.jruby.RubyNameError$RubyNameErrorMessage.object:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 7
5: aload 2
invokestatic org.jruby.RubyNil.inspect:(Lorg/jruby/Ruby;)Lorg/jruby/RubyString;
astore 3
6: goto 22
StackMap locals: org.jruby.Ruby org.jruby.RubyString int
StackMap stack:
7: aload 0
getfield org.jruby.RubyNameError$RubyNameErrorMessage.object:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
getfield org.jruby.runtime.ThreadContext.tru:Lorg/jruby/RubyBoolean;
if_acmpne 10
8: aload 2
getstatic org.jruby.RubyBoolean.TRUE_BYTES:Lorg/jruby/util/ByteList;
invokestatic org.jruby.RubyString.newStringShared:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
astore 3
9: goto 22
StackMap locals:
StackMap stack:
10: aload 0
getfield org.jruby.RubyNameError$RubyNameErrorMessage.object:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
if_acmpne 13
11: aload 2
getstatic org.jruby.RubyBoolean.FALSE_BYTES:Lorg/jruby/util/ByteList;
invokestatic org.jruby.RubyString.newStringShared:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
astore 3
12: goto 22
13: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.jruby.RubyNameError$RubyNameErrorMessage.object:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyObject.inspect:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.asString:()Lorg/jruby/RubyString;
astore 3
14: goto 17
StackMap locals:
StackMap stack: org.jruby.exceptions.JumpException
15: pop
16: aload 1
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.runtime.ThreadContext.setErrorInfo:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
17: StackMap locals:
StackMap stack:
aload 3
ifnull 18
aload 3
invokevirtual org.jruby.RubyString.size:()I
bipush 65
if_icmple 19
18: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyNameError$RubyNameErrorMessage.object:Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.anyToString:()Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.asString:()Lorg/jruby/RubyString;
astore 3
19: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.jruby.RubyString.size:()I
ifle 20
aload 3
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
iconst_0
invokevirtual org.jruby.util.ByteList.get:(I)I
bipush 35
if_icmpne 20
iconst_1
goto 21
StackMap locals:
StackMap stack:
20: iconst_0
StackMap locals:
StackMap stack: int
21: istore 4
22: StackMap locals:
StackMap stack:
iload 4
ifne 26
23: aload 2
bipush 58
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;B)Lorg/jruby/RubyString;
astore 5
start local 5 24: aload 2
aload 0
getfield org.jruby.RubyNameError$RubyNameErrorMessage.object:Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getRealClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getName:()Ljava/lang/String;
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
astore 6
start local 6 25: goto 28
end local 6 end local 5 26: StackMap locals:
StackMap stack:
aload 2
invokestatic org.jruby.RubyString.newEmptyString:(Lorg/jruby/Ruby;)Lorg/jruby/RubyString;
dup
astore 5
start local 5 27: astore 6
start local 6 28: StackMap locals: org.jruby.RubyString org.jruby.RubyString
StackMap stack:
aload 2
aload 0
getfield org.jruby.RubyNameError$RubyNameErrorMessage.name:Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
aload 5
aload 6
invokestatic org.jruby.RubyArray.newArray:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
astore 7
start local 7 29: new org.jruby.util.ByteList
dup
aload 0
getfield org.jruby.RubyNameError$RubyNameErrorMessage.message:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
aload 3
invokevirtual org.jruby.RubyString.size:()I
iadd
bipush 16
iadd
invokespecial org.jruby.util.ByteList.<init>:(I)V
astore 8
start local 8 30: aload 8
aload 0
getfield org.jruby.RubyNameError$RubyNameErrorMessage.message:Ljava/lang/String;
aload 7
invokestatic org.jruby.util.Sprintf.sprintf:(Lorg/jruby/util/ByteList;Ljava/lang/CharSequence;Lorg/jruby/runtime/builtin/IRubyObject;)Z
pop
31: aload 2
aload 8
invokevirtual org.jruby.Ruby.newString:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/jruby/RubyNameError$RubyNameErrorMessage;
0 32 1 context Lorg/jruby/runtime/ThreadContext;
2 32 2 runtime Lorg/jruby/Ruby;
3 32 3 description Lorg/jruby/RubyString;
4 32 4 singleton Z
24 26 5 separator Lorg/jruby/RubyString;
27 32 5 separator Lorg/jruby/RubyString;
25 26 6 className Lorg/jruby/RubyString;
28 32 6 className Lorg/jruby/RubyString;
29 32 7 arr Lorg/jruby/RubyArray;
30 32 8 msgBytes Lorg/jruby/util/ByteList;
Exception table:
from to target type
13 14 15 Class org.jruby.exceptions.JumpException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
private static org.jruby.runtime.builtin.IRubyObject lambda$0(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.RubyNameError$RubyNameErrorMessage
dup
aload 0
invokespecial org.jruby.RubyNameError$RubyNameErrorMessage.<init>:(Lorg/jruby/Ruby;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 klass Lorg/jruby/RubyClass;
}
SourceFile: "RubyNameError.java"
NestHost: org.jruby.RubyNameError
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final RubyNameErrorMessage = org.jruby.RubyNameError$RubyNameErrorMessage of org.jruby.RubyNameError
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"NameError::Message"}, parent = "Data")