class jdk.internal.reflect.NativeMethodAccessorImpl extends jdk.internal.reflect.MethodAccessorImpl
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.reflect.NativeMethodAccessorImpl
super_class: jdk.internal.reflect.MethodAccessorImpl
{
private final java.lang.reflect.Method method;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private jdk.internal.reflect.DelegatingMethodAccessorImpl parent;
descriptor: Ljdk/internal/reflect/DelegatingMethodAccessorImpl;
flags: (0x0002) ACC_PRIVATE
private int numInvocations;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jdk.internal.reflect.MethodAccessorImpl.<init>:()V
1: aload 0
aload 1
putfield jdk.internal.reflect.NativeMethodAccessorImpl.method:Ljava/lang/reflect/Method;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/reflect/NativeMethodAccessorImpl;
0 3 1 method Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
method
public java.lang.Object invoke(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
dup
getfield jdk.internal.reflect.NativeMethodAccessorImpl.numInvocations:I
iconst_1
iadd
dup_x1
putfield jdk.internal.reflect.NativeMethodAccessorImpl.numInvocations:I
invokestatic jdk.internal.reflect.ReflectionFactory.inflationThreshold:()I
if_icmple 13
1: aload 0
getfield jdk.internal.reflect.NativeMethodAccessorImpl.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isHidden:()Z
ifne 13
2: aload 0
getfield jdk.internal.reflect.NativeMethodAccessorImpl.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
invokestatic sun.reflect.misc.ReflectUtil.isVMAnonymousClass:(Ljava/lang/Class;)Z
ifne 13
3: new jdk.internal.reflect.MethodAccessorGenerator
dup
invokespecial jdk.internal.reflect.MethodAccessorGenerator.<init>:()V
4: aload 0
getfield jdk.internal.reflect.NativeMethodAccessorImpl.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
5: aload 0
getfield jdk.internal.reflect.NativeMethodAccessorImpl.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
6: aload 0
getfield jdk.internal.reflect.NativeMethodAccessorImpl.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
7: aload 0
getfield jdk.internal.reflect.NativeMethodAccessorImpl.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
8: aload 0
getfield jdk.internal.reflect.NativeMethodAccessorImpl.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getExceptionTypes:()[Ljava/lang/Class;
9: aload 0
getfield jdk.internal.reflect.NativeMethodAccessorImpl.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getModifiers:()I
10: invokevirtual jdk.internal.reflect.MethodAccessorGenerator.generateMethod:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;[Ljava/lang/Class;I)Ljdk/internal/reflect/MethodAccessor;
11: checkcast jdk.internal.reflect.MethodAccessorImpl
astore 3
start local 3 12: aload 0
getfield jdk.internal.reflect.NativeMethodAccessorImpl.parent:Ljdk/internal/reflect/DelegatingMethodAccessorImpl;
aload 3
invokevirtual jdk.internal.reflect.DelegatingMethodAccessorImpl.setDelegate:(Ljdk/internal/reflect/MethodAccessorImpl;)V
end local 3 13: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.reflect.NativeMethodAccessorImpl.method:Ljava/lang/reflect/Method;
aload 1
aload 2
invokestatic jdk.internal.reflect.NativeMethodAccessorImpl.invoke0:(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/internal/reflect/NativeMethodAccessorImpl;
0 14 1 obj Ljava/lang/Object;
0 14 2 args [Ljava/lang/Object;
12 13 3 acc Ljdk/internal/reflect/MethodAccessorImpl;
Exceptions:
throws java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
obj
args
void setParent(jdk.internal.reflect.DelegatingMethodAccessorImpl);
descriptor: (Ljdk/internal/reflect/DelegatingMethodAccessorImpl;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.internal.reflect.NativeMethodAccessorImpl.parent:Ljdk/internal/reflect/DelegatingMethodAccessorImpl;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/reflect/NativeMethodAccessorImpl;
0 2 1 parent Ljdk/internal/reflect/DelegatingMethodAccessorImpl;
MethodParameters:
Name Flags
parent
private static native java.lang.Object invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
m
obj
args
}
SourceFile: "NativeMethodAccessorImpl.java"