public class org.jruby.runtime.ivars.FieldVariableAccessor extends org.jruby.runtime.ivars.VariableAccessor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.runtime.ivars.FieldVariableAccessor
super_class: org.jruby.runtime.ivars.VariableAccessor
{
private final java.lang.invoke.MethodHandle getter;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.invoke.MethodHandle setter;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.lang.invoke.MethodHandle ENSURE_SETTABLE;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: ldc Ljava/lang/Object;
ldc Ljava/lang/Object;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokestatic com.headius.invokebinder.Binder.from:(Ljava/lang/Class;Ljava/lang/Class;[Ljava/lang/Class;)Lcom/headius/invokebinder/Binder;
1: invokevirtual com.headius.invokebinder.Binder.dropLast:()Lcom/headius/invokebinder/Binder;
2: getstatic java.lang.Void.TYPE:Ljava/lang/Class;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/jruby/RubyBasicObject;
aastore
invokevirtual com.headius.invokebinder.Binder.cast:(Ljava/lang/Class;[Ljava/lang/Class;)Lcom/headius/invokebinder/Binder;
3: getstatic org.jruby.specialized.RubyObjectSpecializer.LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
ldc "ensureInstanceVariablesSettable"
invokevirtual com.headius.invokebinder.Binder.invokeVirtualQuiet:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;)Ljava/lang/invoke/MethodHandle;
4: putstatic org.jruby.runtime.ivars.FieldVariableAccessor.ENSURE_SETTABLE:Ljava/lang/invoke/MethodHandle;
5: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.RubyClass, java.lang.String, int, int, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle);
descriptor: (Lorg/jruby/RubyClass;Ljava/lang/String;IILjava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
iload 3
iload 4
invokespecial org.jruby.runtime.ivars.VariableAccessor.<init>:(Lorg/jruby/RubyClass;Ljava/lang/String;II)V
1: aload 0
aload 5
putfield org.jruby.runtime.ivars.FieldVariableAccessor.getter:Ljava/lang/invoke/MethodHandle;
2: aload 6
getstatic org.jruby.runtime.ivars.FieldVariableAccessor.ENSURE_SETTABLE:Ljava/lang/invoke/MethodHandle;
aload 6
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodHandle.asType:(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
invokestatic java.lang.invoke.MethodHandles.foldArguments:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 6
3: aload 0
aload 6
putfield org.jruby.runtime.ivars.FieldVariableAccessor.setter:Ljava/lang/invoke/MethodHandle;
4: return
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 5 0 this Lorg/jruby/runtime/ivars/FieldVariableAccessor;
0 5 1 realClass Lorg/jruby/RubyClass;
0 5 2 name Ljava/lang/String;
0 5 3 index I
0 5 4 classId I
0 5 5 getter Ljava/lang/invoke/MethodHandle;
0 5 6 setter Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
realClass
name
index
classId
getter
setter
public java.lang.invoke.MethodHandle getGetter();
descriptor: ()Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ivars.FieldVariableAccessor.getter:Ljava/lang/invoke/MethodHandle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/ivars/FieldVariableAccessor;
public java.lang.invoke.MethodHandle getSetter();
descriptor: ()Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ivars.FieldVariableAccessor.setter:Ljava/lang/invoke/MethodHandle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/ivars/FieldVariableAccessor;
public java.lang.Object get(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ivars.FieldVariableAccessor.getter:Ljava/lang/invoke/MethodHandle;
aload 1
invokevirtual java.lang.invoke.MethodHandle.invoke:(Ljava/lang/Object;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 3: aload 2
invokestatic org.jruby.runtime.Helpers.throwException:(Ljava/lang/Throwable;)V
4: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/runtime/ivars/FieldVariableAccessor;
0 5 1 object Ljava/lang/Object;
3 5 2 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
MethodParameters:
Name Flags
object
public void set(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ivars.FieldVariableAccessor.setter:Ljava/lang/invoke/MethodHandle;
aload 1
aload 2
invokevirtual java.lang.invoke.MethodHandle.invoke:(Ljava/lang/Object;Ljava/lang/Object;)V
1: goto 4
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 3
start local 3 3: aload 3
invokestatic org.jruby.runtime.Helpers.throwException:(Ljava/lang/Throwable;)V
end local 3 4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/runtime/ivars/FieldVariableAccessor;
0 5 1 object Ljava/lang/Object;
0 5 2 value Ljava/lang/Object;
3 4 3 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
MethodParameters:
Name Flags
object
value
}
SourceFile: "FieldVariableAccessor.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles