public class org.jruby.internal.runtime.methods.DynamicMethod$NativeCall
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.internal.runtime.methods.DynamicMethod$NativeCall
super_class: java.lang.Object
{
private final java.lang.Class nativeTarget;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String nativeName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Class nativeReturn;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Class[] nativeSignature;
descriptor: [Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean statik;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean java;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.reflect.Method reflected;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.Class, java.lang.String, java.lang.Class, java.lang.Class[], boolean);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
aload 4
iload 5
iconst_0
invokespecial org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;ZZ)V
1: 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 2 0 this Lorg/jruby/internal/runtime/methods/DynamicMethod$NativeCall;
0 2 1 nativeTarget Ljava/lang/Class;
0 2 2 nativeName Ljava/lang/String;
0 2 3 nativeReturn Ljava/lang/Class;
0 2 4 nativeSignature [Ljava/lang/Class;
0 2 5 statik Z
MethodParameters:
Name Flags
nativeTarget
nativeName
nativeReturn
nativeSignature
statik
public void <init>(java.lang.Class, java.lang.String, java.lang.Class, java.lang.Class[], boolean, boolean);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeTarget:Ljava/lang/Class;
2: aload 0
aload 2
putfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeName:Ljava/lang/String;
3: aload 0
aload 3
putfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeReturn:Ljava/lang/Class;
4: aload 0
aload 4
putfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeSignature:[Ljava/lang/Class;
5: aload 0
iload 5
putfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.statik:Z
6: aload 0
iload 6
putfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.java:Z
7: 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 8 0 this Lorg/jruby/internal/runtime/methods/DynamicMethod$NativeCall;
0 8 1 nativeTarget Ljava/lang/Class;
0 8 2 nativeName Ljava/lang/String;
0 8 3 nativeReturn Ljava/lang/Class;
0 8 4 nativeSignature [Ljava/lang/Class;
0 8 5 statik Z
0 8 6 java Z
MethodParameters:
Name Flags
nativeTarget
nativeName
nativeReturn
nativeSignature
statik
java
public java.lang.Class getNativeTarget();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeTarget:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/internal/runtime/methods/DynamicMethod$NativeCall;
public java.lang.String getNativeName();
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.DynamicMethod$NativeCall.nativeName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/internal/runtime/methods/DynamicMethod$NativeCall;
public java.lang.Class getNativeReturn();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeReturn:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/internal/runtime/methods/DynamicMethod$NativeCall;
public java.lang.Class[] getNativeSignature();
descriptor: ()[Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeSignature:[Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/internal/runtime/methods/DynamicMethod$NativeCall;
public boolean isStatic();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.statik:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/internal/runtime/methods/DynamicMethod$NativeCall;
public boolean isJava();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.java:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/internal/runtime/methods/DynamicMethod$NativeCall;
public boolean hasContext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeSignature:[Ljava/lang/Class;
arraylength
ifle 1
aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeSignature:[Ljava/lang/Class;
iconst_0
aaload
ldc Lorg/jruby/runtime/ThreadContext;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/internal/runtime/methods/DynamicMethod$NativeCall;
public boolean hasBlock();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeSignature:[Ljava/lang/Class;
arraylength
ifle 1
aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeSignature:[Ljava/lang/Class;
aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeSignature:[Ljava/lang/Class;
arraylength
iconst_1
isub
aaload
ldc Lorg/jruby/runtime/Block;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/internal/runtime/methods/DynamicMethod$NativeCall;
public java.lang.reflect.Method getMethod();
descriptor: ()Ljava/lang/reflect/Method;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.reflected:Ljava/lang/reflect/Method;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
areturn
2: StackMap locals: java.lang.reflect.Method
StackMap stack:
aload 0
aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeTarget:Ljava/lang/Class;
aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeName:Ljava/lang/String;
aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeSignature:[Ljava/lang/Class;
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
dup_x1
putfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.reflected:Ljava/lang/reflect/Method;
3: areturn
4: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 5: new java.lang.RuntimeException
dup
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/internal/runtime/methods/DynamicMethod$NativeCall;
1 6 1 reflected Ljava/lang/reflect/Method;
5 6 2 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.statik:Z
ifeq 1
ldc "static "
goto 2
StackMap locals: org.jruby.internal.runtime.methods.DynamicMethod$NativeCall
StackMap stack: new 0 new 0
1: ldc ""
StackMap locals: org.jruby.internal.runtime.methods.DynamicMethod$NativeCall
StackMap stack: new 0 new 0 java.lang.String
2: invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeReturn:Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeTarget:Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.internal.runtime.methods.DynamicMethod$NativeCall.nativeSignature:[Ljava/lang/Class;
invokestatic org.jruby.util.CodegenUtils.prettyShortParams:([Ljava/lang/Class;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/internal/runtime/methods/DynamicMethod$NativeCall;
}
SourceFile: "DynamicMethod.java"
NestHost: org.jruby.internal.runtime.methods.DynamicMethod
InnerClasses:
public NativeCall = org.jruby.internal.runtime.methods.DynamicMethod$NativeCall of org.jruby.internal.runtime.methods.DynamicMethod