public abstract class org.jruby.javasupport.JavaAccessibleObject extends org.jruby.RubyObject
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.jruby.javasupport.JavaAccessibleObject
super_class: org.jruby.RubyObject
{
protected void <init>(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 rubyClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
rubyClass
public static void registerRubyMethods(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Lorg/jruby/javasupport/JavaAccessibleObject;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 runtime Lorg/jruby/Ruby;
0 2 1 result Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
result
public abstract java.lang.reflect.AccessibleObject accessibleObject();
descriptor: ()Ljava/lang/reflect/AccessibleObject;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
instanceof org.jruby.javasupport.JavaAccessibleObject
ifeq 4
2: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
aload 1
checkcast org.jruby.javasupport.JavaAccessibleObject
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
0 5 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other final
boolean same(org.jruby.javasupport.JavaAccessibleObject);
descriptor: (Lorg/jruby/javasupport/JavaAccessibleObject;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
aload 1
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
if_acmpne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
0 3 1 that Lorg/jruby/javasupport/JavaAccessibleObject;
MethodParameters:
Name Flags
that final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
public org.jruby.RubyFixnum hash();
descriptor: ()Lorg/jruby/RubyFixnum;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.hashCode:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.RubyBoolean op_equal(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
aload 0
aload 1
invokevirtual org.jruby.javasupport.JavaAccessibleObject.equals:(Ljava/lang/Object;)Z
invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/Ruby;Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
0 1 1 other Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"==", "eql?"})
MethodParameters:
Name Flags
other final
public org.jruby.RubyBoolean same(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.javasupport.JavaAccessibleObject
ifeq 1
aload 0
aload 1
checkcast org.jruby.javasupport.JavaAccessibleObject
invokevirtual org.jruby.javasupport.JavaAccessibleObject.same:(Lorg/jruby/javasupport/JavaAccessibleObject;)Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: iload 2
ifeq 4
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getTrue:()Lorg/jruby/RubyBoolean;
goto 5
StackMap locals: int
StackMap stack:
4: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getFalse:()Lorg/jruby/RubyBoolean;
StackMap locals:
StackMap stack: org.jruby.RubyBoolean
5: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
0 6 1 other Lorg/jruby/runtime/builtin/IRubyObject;
3 6 2 same Z
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"equal?"})
MethodParameters:
Name Flags
other final
public org.jruby.RubyBoolean isAccessible();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
invokevirtual java.lang.reflect.AccessibleObject.isAccessible:()Z
invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/Ruby;Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"accessible?"})
public org.jruby.runtime.builtin.IRubyObject setAccessible(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
invokevirtual java.lang.reflect.AccessibleObject.setAccessible:(Z)V
1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
0 2 1 object Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"accessible="})
MethodParameters:
Name Flags
object
public org.jruby.runtime.builtin.IRubyObject annotation(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.javasupport.JavaClass
ifne 2
1: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
aload 1
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getJavaSupport:()Lorg/jruby/javasupport/JavaSupport;
invokevirtual org.jruby.javasupport.JavaSupport.getJavaClassClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.Ruby.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.javasupport.JavaClass
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
astore 2
start local 2 3: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
aload 2
invokevirtual java.lang.reflect.AccessibleObject.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
0 4 1 annoClass Lorg/jruby/runtime/builtin/IRubyObject;
3 4 2 annotation Ljava/lang/Class;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
annoClass final
public org.jruby.runtime.builtin.IRubyObject annotations();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
invokevirtual java.lang.reflect.AccessibleObject.getAnnotations:()[Ljava/lang/annotation/Annotation;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.RubyBoolean annotations_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
invokevirtual java.lang.reflect.AccessibleObject.getAnnotations:()[Ljava/lang/annotation/Annotation;
arraylength
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack: org.jruby.Ruby
1: iconst_0
StackMap locals: org.jruby.javasupport.JavaAccessibleObject
StackMap stack: org.jruby.Ruby int
2: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"annotations?"})
public org.jruby.runtime.builtin.IRubyObject declared_annotations();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
invokevirtual java.lang.reflect.AccessibleObject.getDeclaredAnnotations:()[Ljava/lang/annotation/Annotation;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.RubyBoolean declared_annotations_p();
descriptor: ()Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
invokevirtual java.lang.reflect.AccessibleObject.getDeclaredAnnotations:()[Ljava/lang/annotation/Annotation;
arraylength
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack: org.jruby.Ruby
1: iconst_0
StackMap locals: org.jruby.javasupport.JavaAccessibleObject
StackMap stack: org.jruby.Ruby int
2: invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"declared_annotations?"})
public org.jruby.runtime.builtin.IRubyObject annotation_present_p(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.javasupport.JavaClass
ifne 2
1: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
aload 1
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getJavaSupport:()Lorg/jruby/javasupport/JavaSupport;
invokevirtual org.jruby.javasupport.JavaSupport.getJavaClassClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.Ruby.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.javasupport.JavaClass
invokevirtual org.jruby.javasupport.JavaClass.javaClass:()Ljava/lang/Class;
astore 2
start local 2 3: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
aload 2
invokevirtual java.lang.reflect.AccessibleObject.isAnnotationPresent:(Ljava/lang/Class;)Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
0 4 1 annoClass Lorg/jruby/runtime/builtin/IRubyObject;
3 4 2 annotation Ljava/lang/Class;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"annotation_present?"})
MethodParameters:
Name Flags
annoClass final
public org.jruby.runtime.builtin.IRubyObject declaring_class();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
checkcast java.lang.reflect.Member
invokeinterface java.lang.reflect.Member.getDeclaringClass:()Ljava/lang/Class;
astore 1
start local 1 1: aload 1
ifnull 2
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.javasupport.JavaClass.get:(Lorg/jruby/Ruby;Ljava/lang/Class;)Lorg/jruby/javasupport/JavaClass;
areturn
2: StackMap locals: java.lang.Class
StackMap stack:
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
1 3 1 clazz Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject modifiers();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
checkcast java.lang.reflect.Member
invokeinterface java.lang.reflect.Member.getModifiers:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject name();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
checkcast java.lang.reflect.Member
invokeinterface java.lang.reflect.Member.getName:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject synthetic_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
checkcast java.lang.reflect.Member
invokeinterface java.lang.reflect.Member.isSynthetic:()Z
invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"synthetic?"})
public org.jruby.RubyString to_string();
descriptor: ()Lorg/jruby/RubyString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_s", "to_string"})
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
public <T> T toJava(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.javasupport.JavaAccessibleObject.accessibleObject:()Ljava/lang/reflect/AccessibleObject;
astore 2
start local 2 1: aload 1
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 3
2: aload 1
aload 2
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
3: StackMap locals: java.lang.reflect.AccessibleObject
StackMap stack:
aload 0
aload 1
invokespecial org.jruby.RubyObject.toJava:(Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/javasupport/JavaAccessibleObject;
0 4 1 target Ljava/lang/Class<TT;>;
1 4 2 accessibleObject Ljava/lang/reflect/AccessibleObject;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
target
}
SourceFile: "JavaAccessibleObject.java"