Home
last modified time | relevance | path

Searched refs:cons (Results 1 – 8 of 8) 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/042-new-instance/src/otherpackage/
DConstructorAccess.java33 Constructor cons = c.getDeclaredConstructor((Class[]) null); in newConstructorInstance() local
34 Object obj = cons.newInstance(); in newConstructorInstance()
/art/test/100-reflect2/src/
DMain.java290 Constructor cons = c.getConstructor(); in testPackagePrivateConstructor() local
291 cons.newInstance(); in testPackagePrivateConstructor()
304 Constructor cons = c.getConstructor(); in testPackagePrivateAccessibleConstructor() local
305 cons.setAccessible(true); // ensure we prevent IllegalAccessException in testPackagePrivateAccessibleConstructor()
306 cons.newInstance(); in testPackagePrivateAccessibleConstructor()
/art/test/031-class-attributes/src/
DClassAttrs.java121 Constructor cons; in main() local
122 cons = MemberClass.class.getConstructor( in main()
125 + getSignatureAttribute(cons)); in main()
/art/test/044-proxy/src/
DBasicTest.java109 Constructor<Class> cons; in createProxy() local
110 cons = proxyClass.getConstructor( in createProxy()
113 proxy = cons.newInstance(new Object[] { handler }); in createProxy()
/art/test/046-reflect/src/
DMain.java371 Constructor<Target> cons; in run() local
375 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()
/art/test/046-reflect/
Dexpected.txt90 cons modifiers=1
/art/runtime/interpreter/
Dunstarted_runtime.cc254 auto* cons = h_klass->FindDeclaredDirectMethod("<init>", "()V", cl->GetImagePointerSize()); in UnstartedClassNewInstance() local
255 if (cons != nullptr) { in UnstartedClassNewInstance()
258 EnterInterpreterFromInvoke(self, cons, h_obj.Get(), nullptr, nullptr); in UnstartedClassNewInstance()