public class org.jruby.embed.variable.PersistentLocalVariable extends org.jruby.embed.variable.AbstractVariable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.embed.variable.PersistentLocalVariable
super_class: org.jruby.embed.variable.AbstractVariable
{
private static final java.lang.String VALID_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "([a-z]|_)([a-zA-Z]|_|\\d)*"
public static org.jruby.embed.variable.BiVariable getInstance(org.jruby.RubyObject, java.lang.String, java.lang.Object[]);
descriptor: (Lorg/jruby/RubyObject;Ljava/lang/String;[Ljava/lang/Object;)Lorg/jruby/embed/variable/BiVariable;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "([a-z]|_)([a-zA-Z]|_|\\d)*"
invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
ifeq 2
1: new org.jruby.embed.variable.PersistentLocalVariable
dup
aload 0
aload 1
aload 2
invokespecial org.jruby.embed.variable.PersistentLocalVariable.<init>:(Lorg/jruby/RubyObject;Ljava/lang/String;[Ljava/lang/Object;)V
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 receiver Lorg/jruby/RubyObject;
0 3 1 name Ljava/lang/String;
0 3 2 javaObject [Ljava/lang/Object;
MethodParameters:
Name Flags
receiver
name
javaObject
private void <init>(org.jruby.RubyObject, java.lang.String, java.lang.Object[]);
descriptor: (Lorg/jruby/RubyObject;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iconst_0
invokespecial org.jruby.embed.variable.AbstractVariable.<init>:(Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Z)V
1: aload 0
aload 1
invokevirtual org.jruby.RubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 3
invokevirtual org.jruby.embed.variable.PersistentLocalVariable.updateByJavaObject:(Lorg/jruby/Ruby;[Ljava/lang/Object;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/embed/variable/PersistentLocalVariable;
0 3 1 receiver Lorg/jruby/RubyObject;
0 3 2 name Ljava/lang/String;
0 3 3 javaObjects [Ljava/lang/Object;
MethodParameters:
Name Flags
receiver
name
javaObjects
void <init>(org.jruby.RubyObject, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iconst_1
aload 3
invokespecial org.jruby.embed.variable.AbstractVariable.<init>:(Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;ZLorg/jruby/runtime/builtin/IRubyObject;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/embed/variable/PersistentLocalVariable;
0 2 1 origin Lorg/jruby/RubyObject;
0 2 2 name Ljava/lang/String;
0 2 3 irubyObject Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
origin
name
irubyObject
public org.jruby.embed.variable.BiVariable$Type getType();
descriptor: ()Lorg/jruby/embed/variable/BiVariable$Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.jruby.embed.variable.BiVariable$Type.LocalVariable:Lorg/jruby/embed/variable/BiVariable$Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/variable/PersistentLocalVariable;
public static boolean isValidName(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "([a-z]|_)([a-zA-Z]|_|\\d)*"
aload 0
invokestatic org.jruby.embed.variable.PersistentLocalVariable.isValidName:(Ljava/lang/String;Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/Object;
MethodParameters:
Name Flags
name
public static void retrieve(org.jruby.RubyObject, org.jruby.embed.internal.BiVariableMap);
descriptor: (Lorg/jruby/RubyObject;Lorg/jruby/embed/internal/BiVariableMap;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.RubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.runtime.ThreadContext.getCurrentScope:()Lorg/jruby/runtime/DynamicScope;
checkcast org.jruby.runtime.scope.ManyVarsDynamicScope
1: astore 2
start local 2 2: aload 2
ifnonnull 4
3: return
4: StackMap locals: org.jruby.runtime.scope.ManyVarsDynamicScope
StackMap stack:
aload 2
invokevirtual org.jruby.runtime.scope.ManyVarsDynamicScope.getAllNamesInScope:()[Ljava/lang/String;
astore 3
start local 3 5: aload 2
invokevirtual org.jruby.runtime.scope.ManyVarsDynamicScope.getValues:()[Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 6: aload 3
ifnull 7
aload 4
ifnull 7
aload 3
arraylength
ifeq 7
aload 4
arraylength
ifne 8
7: StackMap locals: java.lang.String[] org.jruby.runtime.builtin.IRubyObject[]
StackMap stack:
return
8: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 9: goto 19
10: StackMap locals: int
StackMap stack:
aload 0
invokestatic org.jruby.embed.variable.PersistentLocalVariable.getTopSelf:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyObject;
astore 7
start local 7 11: aload 1
aload 7
aload 3
iload 5
aaload
invokevirtual org.jruby.embed.internal.BiVariableMap.getVariable:(Lorg/jruby/RubyObject;Ljava/lang/String;)Lorg/jruby/embed/variable/BiVariable;
dup
astore 6
start local 6 12: ifnull 16
13: aload 7
aload 6
invokeinterface org.jruby.embed.variable.BiVariable.getReceiver:()Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 16
14: aload 6
aload 4
iload 5
aaload
invokeinterface org.jruby.embed.variable.BiVariable.setRubyObject:(Lorg/jruby/runtime/builtin/IRubyObject;)V
15: goto 18
16: StackMap locals: org.jruby.embed.variable.BiVariable org.jruby.RubyObject
StackMap stack:
new org.jruby.embed.variable.PersistentLocalVariable
dup
aload 7
aload 3
iload 5
aaload
aload 4
iload 5
aaload
invokespecial org.jruby.embed.variable.PersistentLocalVariable.<init>:(Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
astore 6
17: aload 1
aload 3
iload 5
aaload
aload 6
invokevirtual org.jruby.embed.internal.BiVariableMap.update:(Ljava/lang/String;Lorg/jruby/embed/variable/BiVariable;)V
end local 7 end local 6 18: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
aload 3
arraylength
if_icmplt 10
end local 5 20: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 receiver Lorg/jruby/RubyObject;
0 21 1 vars Lorg/jruby/embed/internal/BiVariableMap;
2 21 2 scope Lorg/jruby/runtime/scope/ManyVarsDynamicScope;
5 21 3 names [Ljava/lang/String;
6 21 4 values [Lorg/jruby/runtime/builtin/IRubyObject;
9 20 5 i I
12 18 6 var Lorg/jruby/embed/variable/BiVariable;
11 18 7 topSelf Lorg/jruby/RubyObject;
MethodParameters:
Name Flags
receiver
vars
public void inject();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/variable/PersistentLocalVariable;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/variable/PersistentLocalVariable;
public void setJavaObject(org.jruby.Ruby, java.lang.Object);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokespecial org.jruby.embed.variable.AbstractVariable.setJavaObject:(Lorg/jruby/Ruby;Ljava/lang/Object;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void setRubyObject(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial org.jruby.embed.variable.AbstractVariable.setRubyObject:(Lorg/jruby/runtime/builtin/IRubyObject;)V
return
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object getJavaObject();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial org.jruby.embed.variable.AbstractVariable.getJavaObject:()Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.jruby.runtime.builtin.IRubyObject getRubyObject();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial org.jruby.embed.variable.AbstractVariable.getRubyObject:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean isReceiverIdentical(org.jruby.RubyObject);
descriptor: (Lorg/jruby/RubyObject;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial org.jruby.embed.variable.AbstractVariable.isReceiverIdentical:(Lorg/jruby/RubyObject;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial org.jruby.embed.variable.AbstractVariable.getName:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.jruby.runtime.builtin.IRubyObject getReceiver();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial org.jruby.embed.variable.AbstractVariable.getReceiver:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "PersistentLocalVariable.java"
InnerClasses:
public final Type = org.jruby.embed.variable.BiVariable$Type of org.jruby.embed.variable.BiVariable