Searched refs:cons (Results 1 – 8 of 8) 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 …]
33 Constructor cons = c.getDeclaredConstructor((Class[]) null); in newConstructorInstance() local34 Object obj = cons.newInstance(); in newConstructorInstance()
290 Constructor cons = c.getConstructor(); in testPackagePrivateConstructor() local291 cons.newInstance(); in testPackagePrivateConstructor()304 Constructor cons = c.getConstructor(); in testPackagePrivateAccessibleConstructor() local305 cons.setAccessible(true); // ensure we prevent IllegalAccessException in testPackagePrivateAccessibleConstructor()306 cons.newInstance(); in testPackagePrivateAccessibleConstructor()
121 Constructor cons; in main() local122 cons = MemberClass.class.getConstructor( in main()125 + getSignatureAttribute(cons)); in main()
109 Constructor<Class> cons; in createProxy() local110 cons = proxyClass.getConstructor( in createProxy()113 proxy = cons.newInstance(new Object[] { handler }); in createProxy()
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
254 auto* cons = h_klass->FindDeclaredDirectMethod("<init>", "()V", cl->GetImagePointerSize()); in UnstartedClassNewInstance() local255 if (cons != nullptr) { in UnstartedClassNewInstance()258 EnterInterpreterFromInvoke(self, cons, h_obj.Get(), nullptr, nullptr); in UnstartedClassNewInstance()