public abstract class org.jruby.java.invokers.FieldMethodOne extends org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOne
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.jruby.java.invokers.FieldMethodOne
super_class: org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOne
{
final java.lang.reflect.Field field;
descriptor: Ljava/lang/reflect/Field;
flags: (0x0010) ACC_FINAL
void <init>(java.lang.String, org.jruby.RubyModule, java.lang.reflect.Field);
descriptor: (Ljava/lang/String;Lorg/jruby/RubyModule;Ljava/lang/reflect/Field;)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 2
aload 3
aload 1
invokespecial org.jruby.java.invokers.FieldMethodOne.<init>:(Lorg/jruby/RubyModule;Ljava/lang/reflect/Field;Ljava/lang/String;)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/java/invokers/FieldMethodOne;
0 2 1 name Ljava/lang/String;
0 2 2 host Lorg/jruby/RubyModule;
0 2 3 field Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
name
host
field
public java.lang.reflect.Field getField();
descriptor: ()Ljava/lang/reflect/Field;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.java.invokers.FieldMethodOne.field:Ljava/lang/reflect/Field;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/java/invokers/FieldMethodOne;
protected void <init>(org.jruby.RubyModule, java.lang.reflect.Field, java.lang.String);
descriptor: (Lorg/jruby/RubyModule;Ljava/lang/reflect/Field;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
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
getstatic org.jruby.runtime.Visibility.PUBLIC:Lorg/jruby/runtime/Visibility;
aload 3
invokespecial org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOne.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;)V
1: aload 2
invokestatic org.jruby.javasupport.Java.trySetAccessible:(Ljava/lang/reflect/AccessibleObject;)Z
pop
2: aload 0
aload 2
putfield org.jruby.java.invokers.FieldMethodOne.field:Ljava/lang/reflect/Field;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/java/invokers/FieldMethodOne;
0 4 1 host Lorg/jruby/RubyModule;
0 4 2 field Ljava/lang/reflect/Field;
0 4 3 name Ljava/lang/String;
MethodParameters:
Name Flags
host
field
name
protected java.lang.Object retrieveTarget(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.java.invokers.FieldMethodZero.retrieveTargetImpl:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/java/invokers/FieldMethodOne;
0 1 1 self Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
self final
protected final org.jruby.runtime.builtin.IRubyObject handleSetException(org.jruby.Ruby, java.lang.IllegalAccessException);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/IllegalAccessException;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
new java.lang.StringBuilder
dup
ldc "illegal access setting field '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.java.invokers.FieldMethodOne.field:Ljava/lang/reflect/Field;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "' : "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.IllegalAccessException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newSecurityError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/java/invokers/FieldMethodOne;
0 1 1 runtime Lorg/jruby/Ruby;
0 1 2 ex Ljava/lang/IllegalAccessException;
MethodParameters:
Name Flags
runtime final
ex final
protected final org.jruby.runtime.builtin.IRubyObject handleSetException(org.jruby.Ruby, java.lang.IllegalArgumentException);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/IllegalArgumentException;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual java.lang.IllegalArgumentException.getMessage:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/java/invokers/FieldMethodOne;
0 1 1 runtime Lorg/jruby/Ruby;
0 1 2 ex Ljava/lang/IllegalArgumentException;
MethodParameters:
Name Flags
runtime final
ex final
}
SourceFile: "FieldMethodOne.java"
InnerClasses:
public abstract JavaMethodOne = org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOne of org.jruby.internal.runtime.methods.JavaMethod