Searched refs:cons (Results 1 – 5 of 5) 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 …]
117 Constructor cons; in main() local118 cons = MemberClass.class.getConstructor( in main()121 + getSignatureAttribute(cons)); in main()
107 Constructor<Class> cons; in createProxy() local108 cons = proxyClass.getConstructor( in createProxy()111 proxy = cons.newInstance(new Object[] { handler }); in createProxy()
357 Constructor<Target> cons; in run() local361 cons = target.getConstructor(new Class[] { int.class,float.class }); in run()363 System.out.println("cons modifiers=" + cons.getModifiers()); in run()364 targ = cons.newInstance(args); in run()
90 cons modifiers=1