Searched refs:cons (Results 1 – 7 of 7) sorted by relevance
75 Constructor cons = c.getConstructor(new Class[0] /*(Class[])null*/); in testConstructorNewInstance() local87 Constructor cons = c.getConstructor((Class[]) null); in testConstructorNewInstance() local88 Object obj = cons.newInstance(); in testConstructorNewInstance()98 Constructor cons = c.getDeclaredConstructor(new Class<?>[]{Main.class}); in testConstructorNewInstance() local99 Object obj = cons.newInstance(new Main()); in testConstructorNewInstance()109 Constructor cons = c.getDeclaredConstructor((Class[]) null); in testConstructorNewInstance() local110 Object obj = cons.newInstance(); in testConstructorNewInstance()120 Constructor cons = c.getConstructor(new Class[0] /*(Class[])null*/); in testConstructorNewInstance() local133 Constructor cons = c.getConstructor(new Class[0] /*(Class[])null*/); in testConstructorNewInstance() local134 Object obj = cons.newInstance(); in testConstructorNewInstance()[all …]
272 Constructor cons = c.getConstructor(); in testPackagePrivateConstructor() local273 cons.newInstance(); in testPackagePrivateConstructor()286 Constructor cons = c.getConstructor(); in testPackagePrivateAccessibleConstructor() local287 cons.setAccessible(true); // ensure we prevent IllegalAccessException in testPackagePrivateAccessibleConstructor()288 cons.newInstance(); in testPackagePrivateAccessibleConstructor()
107 Constructor<Class> cons; in createProxy() local108 cons = proxyClass.getConstructor( in createProxy()111 proxy = cons.newInstance(new Object[] { handler }); in createProxy()
120 Constructor cons; in main() local121 cons = MemberClass.class.getConstructor( in main()124 + getSignatureAttribute(cons)); in main()
371 Constructor<Target> cons; in run() local375 cons = target.getConstructor(new Class[] { int.class,float.class }); in run()377 System.out.println("cons modifiers=" + cons.getModifiers()); in run()378 targ = cons.newInstance(args); in run()
90 cons modifiers=1
203 auto* cons = h_klass->FindDeclaredDirectMethod("<init>", "()V", cl->GetImagePointerSize()); in UnstartedClassNewInstance() local204 if (cons != nullptr) { in UnstartedClassNewInstance()207 EnterInterpreterFromInvoke(self, cons, h_obj.Get(), nullptr, nullptr); in UnstartedClassNewInstance()