Home
last modified time | relevance | path

Searched refs:cons (Results 1 – 5 of 5) sorted by relevance

/art/test/042-new-instance/src/
DMain.java75 Constructor cons = c.getConstructor(new Class[0] /*(Class[])null*/); in testConstructorNewInstance() local
87 Constructor cons = c.getConstructor((Class[]) null); in testConstructorNewInstance() local
88 Object obj = cons.newInstance(); in testConstructorNewInstance()
98 Constructor cons = c.getDeclaredConstructor(new Class<?>[]{Main.class}); in testConstructorNewInstance() local
99 Object obj = cons.newInstance(new Main()); in testConstructorNewInstance()
109 Constructor cons = c.getDeclaredConstructor((Class[]) null); in testConstructorNewInstance() local
110 Object obj = cons.newInstance(); in testConstructorNewInstance()
120 Constructor cons = c.getConstructor(new Class[0] /*(Class[])null*/); in testConstructorNewInstance() local
133 Constructor cons = c.getConstructor(new Class[0] /*(Class[])null*/); in testConstructorNewInstance() local
134 Object obj = cons.newInstance(); in testConstructorNewInstance()
[all …]
/art/test/031-class-attributes/src/
DClassAttrs.java117 Constructor cons; in main() local
118 cons = MemberClass.class.getConstructor( in main()
121 + getSignatureAttribute(cons)); in main()
/art/test/044-proxy/src/
DBasicTest.java107 Constructor<Class> cons; in createProxy() local
108 cons = proxyClass.getConstructor( in createProxy()
111 proxy = cons.newInstance(new Object[] { handler }); in createProxy()
/art/test/046-reflect/src/
DMain.java357 Constructor<Target> cons; in run() local
361 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()
/art/test/046-reflect/
Dexpected.txt90 cons modifiers=1