public class org.jruby.embed.variable.InstanceVariable 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.InstanceVariable
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-zA-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-zA-Z]|_)([a-zA-Z]|_|\\d)*"
invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
ifeq 2
1: new org.jruby.embed.variable.InstanceVariable
dup
aload 0
aload 1
aload 2
invokespecial org.jruby.embed.variable.InstanceVariable.<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.InstanceVariable.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/InstanceVariable;
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
public void <init>(org.jruby.runtime.builtin.IRubyObject, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
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/InstanceVariable;
0 2 1 receiver Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 name Ljava/lang/String;
0 2 3 irubyObject Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
receiver
name
irubyObject
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=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
aload 3
invokespecial org.jruby.embed.variable.InstanceVariable.<init>:(Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/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/InstanceVariable;
0 2 1 receiver Lorg/jruby/RubyObject;
0 2 2 name Ljava/lang/String;
0 2 3 irubyObject Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
receiver
name
irubyObject
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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.jruby.embed.internal.BiVariableMap.isLazy:()Z
ifeq 1
return
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.jruby.embed.variable.InstanceVariable.updateInstanceVar:(Lorg/jruby/RubyObject;Lorg/jruby/embed/internal/BiVariableMap;)V
2: aload 0
invokestatic org.jruby.embed.variable.InstanceVariable.getTopSelf:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyObject;
aload 1
invokestatic org.jruby.embed.variable.InstanceVariable.updateInstanceVar:(Lorg/jruby/RubyObject;Lorg/jruby/embed/internal/BiVariableMap;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 receiver Lorg/jruby/RubyObject;
0 4 1 vars Lorg/jruby/embed/internal/BiVariableMap;
MethodParameters:
Name Flags
receiver
vars
static void updateInstanceVar(org.jruby.RubyObject, org.jruby.embed.internal.BiVariableMap);
descriptor: (Lorg/jruby/RubyObject;Lorg/jruby/embed/internal/BiVariableMap;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.RubyObject.getInstanceVariables:()Lorg/jruby/runtime/builtin/InstanceVariables;
astore 2
start local 2 1: aload 2
invokeinterface org.jruby.runtime.builtin.InstanceVariables.getInstanceVariableNameList:()Ljava/util/List;
astore 3
start local 3 2: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals: org.jruby.RubyObject org.jruby.embed.internal.BiVariableMap org.jruby.runtime.builtin.InstanceVariables java.util.List top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 4: aload 2
aload 4
invokeinterface org.jruby.runtime.builtin.InstanceVariables.getInstanceVariable:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
start local 6 5: aload 1
aload 0
aload 4
invokevirtual org.jruby.embed.internal.BiVariableMap.getVariable:(Lorg/jruby/RubyObject;Ljava/lang/String;)Lorg/jruby/embed/variable/BiVariable;
astore 7
start local 7 6: aload 7
ifnull 9
7: aload 7
aload 6
invokeinterface org.jruby.embed.variable.BiVariable.setRubyObject:(Lorg/jruby/runtime/builtin/IRubyObject;)V
8: goto 11
9: StackMap locals: org.jruby.RubyObject org.jruby.embed.internal.BiVariableMap org.jruby.runtime.builtin.InstanceVariables java.util.List java.lang.String java.util.Iterator org.jruby.runtime.builtin.IRubyObject org.jruby.embed.variable.BiVariable
StackMap stack:
new org.jruby.embed.variable.InstanceVariable
dup
aload 0
aload 4
aload 6
invokespecial org.jruby.embed.variable.InstanceVariable.<init>:(Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
astore 7
10: aload 1
aload 4
aload 7
invokevirtual org.jruby.embed.internal.BiVariableMap.update:(Ljava/lang/String;Lorg/jruby/embed/variable/BiVariable;)V
end local 7 end local 6 end local 4 11: StackMap locals: org.jruby.RubyObject org.jruby.embed.internal.BiVariableMap org.jruby.runtime.builtin.InstanceVariables java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 receiver Lorg/jruby/RubyObject;
0 13 1 vars Lorg/jruby/embed/internal/BiVariableMap;
1 13 2 ivars Lorg/jruby/runtime/builtin/InstanceVariables;
2 13 3 keys Ljava/util/List<Ljava/lang/String;>;
4 11 4 key Ljava/lang/String;
5 11 6 value Lorg/jruby/runtime/builtin/IRubyObject;
6 11 7 var Lorg/jruby/embed/variable/BiVariable;
MethodParameters:
Name Flags
receiver final
vars final
public static void retrieveByKey(org.jruby.RubyObject, org.jruby.embed.internal.BiVariableMap, java.lang.String);
descriptor: (Lorg/jruby/RubyObject;Lorg/jruby/embed/internal/BiVariableMap;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.RubyObject.getInstanceVariables:()Lorg/jruby/runtime/builtin/InstanceVariables;
astore 3
start local 3 1: aload 3
invokeinterface org.jruby.runtime.builtin.InstanceVariables.getInstanceVariableNameList:()Ljava/util/List;
aload 2
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 2
return
2: StackMap locals: org.jruby.runtime.builtin.InstanceVariables
StackMap stack:
aload 3
aload 2
invokeinterface org.jruby.runtime.builtin.InstanceVariables.getInstanceVariable:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 3: aload 1
aload 0
aload 2
invokevirtual org.jruby.embed.internal.BiVariableMap.getVariable:(Lorg/jruby/RubyObject;Ljava/lang/String;)Lorg/jruby/embed/variable/BiVariable;
astore 5
start local 5 4: aload 5
ifnull 7
5: aload 5
aload 4
invokeinterface org.jruby.embed.variable.BiVariable.setRubyObject:(Lorg/jruby/runtime/builtin/IRubyObject;)V
6: goto 9
7: StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.embed.variable.BiVariable
StackMap stack:
new org.jruby.embed.variable.InstanceVariable
dup
aload 0
aload 2
aload 4
invokespecial org.jruby.embed.variable.InstanceVariable.<init>:(Lorg/jruby/RubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
astore 5
8: aload 1
aload 2
aload 5
invokevirtual org.jruby.embed.internal.BiVariableMap.update:(Ljava/lang/String;Lorg/jruby/embed/variable/BiVariable;)V
9: StackMap locals:
StackMap stack:
return
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 10 0 receiver Lorg/jruby/RubyObject;
0 10 1 vars Lorg/jruby/embed/internal/BiVariableMap;
0 10 2 key Ljava/lang/String;
1 10 3 ivars Lorg/jruby/runtime/builtin/InstanceVariables;
3 10 4 value Lorg/jruby/runtime/builtin/IRubyObject;
4 10 5 var Lorg/jruby/embed/variable/BiVariable;
MethodParameters:
Name Flags
receiver
vars
key
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.InstanceVariable:Lorg/jruby/embed/variable/BiVariable$Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/variable/InstanceVariable;
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-zA-Z]|_)([a-zA-Z]|_|\\d)*"
aload 0
invokestatic org.jruby.embed.variable.InstanceVariable.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 void inject();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.embed.variable.InstanceVariable.getReceiver:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyObject
aload 0
getfield org.jruby.embed.variable.InstanceVariable.name:Ljava/lang/String;
invokevirtual java.lang.String.intern:()Ljava/lang/String;
aload 0
invokevirtual org.jruby.embed.variable.InstanceVariable.getRubyObject:()Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyObject.setInstanceVariable:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/embed/variable/InstanceVariable;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.embed.variable.InstanceVariable.getReceiver:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyObject
aload 0
getfield org.jruby.embed.variable.InstanceVariable.name:Ljava/lang/String;
invokevirtual org.jruby.RubyObject.removeInstanceVariable:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/embed/variable/InstanceVariable;
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: "InstanceVariable.java"
InnerClasses:
public final Type = org.jruby.embed.variable.BiVariable$Type of org.jruby.embed.variable.BiVariable