public class org.jruby.internal.runtime.methods.AttrReaderMethod extends org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZero
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.internal.runtime.methods.AttrReaderMethod
super_class: org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZero
{
private org.jruby.runtime.ivars.MethodData methodData;
descriptor: Lorg/jruby/runtime/ivars/MethodData;
flags: (0x0002) ACC_PRIVATE
private org.jruby.runtime.ivars.VariableAccessor accessor;
descriptor: Lorg/jruby/runtime/ivars/VariableAccessor;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.jruby.RubyModule, org.jruby.runtime.Visibility, java.lang.String);
descriptor: (Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
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.internal.runtime.methods.JavaMethod$JavaMethodZero.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;)V
1: aload 0
getstatic org.jruby.runtime.ivars.VariableAccessor.DUMMY_ACCESSOR:Lorg/jruby/runtime/ivars/VariableAccessor;
putfield org.jruby.internal.runtime.methods.AttrReaderMethod.accessor:Lorg/jruby/runtime/ivars/VariableAccessor;
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/internal/runtime/methods/AttrReaderMethod;
0 3 1 implementationClass Lorg/jruby/RubyModule;
0 3 2 visibility Lorg/jruby/runtime/Visibility;
0 3 3 variableName Ljava/lang/String;
MethodParameters:
Name Flags
implementationClass
visibility
variableName
public org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyModule, java.lang.String);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getRealClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.internal.runtime.methods.AttrReaderMethod.verifyAccessor:(Lorg/jruby/RubyClass;)Lorg/jruby/runtime/ivars/VariableAccessor;
aload 2
invokevirtual org.jruby.runtime.ivars.VariableAccessor.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.runtime.builtin.IRubyObject
astore 5
start local 5 1: aload 5
ifnonnull 2
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
goto 3
StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
2: aload 5
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
3: areturn
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 4 0 this Lorg/jruby/internal/runtime/methods/AttrReaderMethod;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 self Lorg/jruby/runtime/builtin/IRubyObject;
0 4 3 clazz Lorg/jruby/RubyModule;
0 4 4 name Ljava/lang/String;
1 4 5 variable Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
self
clazz
name
public java.lang.String getVariableName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.internal.runtime.methods.AttrReaderMethod.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/internal/runtime/methods/AttrReaderMethod;
private org.jruby.runtime.ivars.VariableAccessor verifyAccessor(org.jruby.RubyClass);
descriptor: (Lorg/jruby/RubyClass;)Lorg/jruby/runtime/ivars/VariableAccessor;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.internal.runtime.methods.AttrReaderMethod.accessor:Lorg/jruby/runtime/ivars/VariableAccessor;
astore 2
start local 2 1: aload 2
invokevirtual org.jruby.runtime.ivars.VariableAccessor.getClassId:()I
aload 1
getfield org.jruby.RubyClass.id:I
if_icmpeq 4
2: aload 1
aload 0
getfield org.jruby.internal.runtime.methods.AttrReaderMethod.name:Ljava/lang/String;
invokevirtual org.jruby.RubyClass.getVariableAccessorForRead:(Ljava/lang/String;)Lorg/jruby/runtime/ivars/VariableAccessor;
astore 2
3: aload 0
aload 2
putfield org.jruby.internal.runtime.methods.AttrReaderMethod.accessor:Lorg/jruby/runtime/ivars/VariableAccessor;
4: StackMap locals: org.jruby.runtime.ivars.VariableAccessor
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/internal/runtime/methods/AttrReaderMethod;
0 5 1 cls Lorg/jruby/RubyClass;
1 5 2 localAccessor Lorg/jruby/runtime/ivars/VariableAccessor;
MethodParameters:
Name Flags
cls
public org.jruby.runtime.ivars.MethodData getMethodData();
descriptor: ()Lorg/jruby/runtime/ivars/MethodData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.internal.runtime.methods.AttrReaderMethod.methodData:Lorg/jruby/runtime/ivars/MethodData;
ifnonnull 2
1: aload 0
new org.jruby.runtime.ivars.MethodData
dup
aload 0
getfield org.jruby.internal.runtime.methods.AttrReaderMethod.name:Ljava/lang/String;
ldc "dummyfile"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
getfield org.jruby.internal.runtime.methods.AttrReaderMethod.name:Ljava/lang/String;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial org.jruby.runtime.ivars.MethodData.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;)V
putfield org.jruby.internal.runtime.methods.AttrReaderMethod.methodData:Lorg/jruby/runtime/ivars/MethodData;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.internal.runtime.methods.AttrReaderMethod.methodData:Lorg/jruby/runtime/ivars/MethodData;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/internal/runtime/methods/AttrReaderMethod;
public void <init>(org.jruby.RubyModule, org.jruby.runtime.Visibility, org.jruby.internal.runtime.methods.CallConfiguration, java.lang.String);
descriptor: (Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Lorg/jruby/internal/runtime/methods/CallConfiguration;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
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 2
aload 4
invokespecial org.jruby.internal.runtime.methods.AttrReaderMethod.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/internal/runtime/methods/AttrReaderMethod;
0 2 1 implementationClass Lorg/jruby/RubyModule;
0 2 2 visibility Lorg/jruby/runtime/Visibility;
0 2 3 callConfiguration Lorg/jruby/internal/runtime/methods/CallConfiguration;
0 2 4 variableName Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
implementationClass
visibility
callConfiguration
variableName
}
SourceFile: "AttrReaderMethod.java"
InnerClasses:
public abstract JavaMethodZero = org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZero of org.jruby.internal.runtime.methods.JavaMethod