Example #1
0
 public static MethodType methodType(Class<IJavaObject> arg0, MethodType arg1)
 {
     return Static.CallMethod<MethodType>(typeof(MethodType), "methodType", "(Ljava/lang/Class;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodType;", arg0, arg1);
 }
 public static CallSite metafactory(MethodHandles_.Lookup arg0, String arg1, MethodType arg2, MethodType arg3, MethodHandle arg4, MethodType arg5)
 {
     return Static.CallMethod<CallSite>(typeof(LambdaMetafactory), "metafactory", "(Ljava/lang/invoke/MethodHandles/Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;", arg0, arg1, arg2, arg3, arg4, arg5);
 }
 public static String toString(int arg0, Class<IJavaObject> arg1, String arg2, MethodType arg3)
 {
     return Static.CallMethod<String>(typeof(MethodHandleInfo), "toString", "(ILjava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/String;", arg0, arg1, arg2, arg3);
 }
 public static CallSite altMetafactory(MethodHandles_.Lookup arg0, String arg1, MethodType arg2, ObjectArray<IJavaObject> arg3)
 {
     return Static.CallMethod<CallSite>(typeof(LambdaMetafactory), "altMetafactory", "(Ljava/lang/invoke/MethodHandles/Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;", arg0, arg1, arg2, arg3);
 }
Example #5
0
 public MethodHandle asType(MethodType arg0)
 {
     return Instance.CallMethod<MethodHandle>("asType", "(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;", arg0);
 }