Searched refs:cons (Results 1 – 10 of 10) sorted by relevance
/art/test/042-new-instance/src/ |
D | Main.java | 75 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance() local 87 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance() local 88 Object obj = cons.newInstance(); in testConstructorNewInstance() 98 Constructor<?> cons = c.getDeclaredConstructor(Main.class); in testConstructorNewInstance() local 99 Object obj = cons.newInstance(new Main()); in testConstructorNewInstance() 109 Constructor<?> cons = c.getDeclaredConstructor(); in testConstructorNewInstance() local 110 Object obj = cons.newInstance(); in testConstructorNewInstance() 120 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance() local 133 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance() local 134 Object obj = cons.newInstance(); in testConstructorNewInstance() [all …]
|
/art/test/042-new-instance/src/otherpackage/ |
D | ConstructorAccess.java | 33 Constructor cons = c.getDeclaredConstructor(); in newConstructorInstance() local 34 Object obj = cons.newInstance(); in newConstructorInstance()
|
/art/test/100-reflect2/src/ |
D | Main.java | 288 Constructor<?> cons = c.getConstructor(); in testPackagePrivateConstructor() local 289 cons.newInstance(); in testPackagePrivateConstructor() 302 Constructor<?> cons = c.getConstructor(); in testPackagePrivateAccessibleConstructor() local 303 cons.setAccessible(true); // ensure we prevent IllegalAccessException in testPackagePrivateAccessibleConstructor() 304 cons.newInstance(); in testPackagePrivateAccessibleConstructor()
|
/art/test/031-class-attributes/src/ |
D | ClassAttrs.java | 121 Constructor<?> cons; in main() local 122 cons = MemberClass.class.getConstructor(MemberClass.class); in main() 124 + getSignatureAttribute(cons)); in main()
|
/art/test/044-proxy/src/ |
D | BasicTest.java | 109 Constructor<?> cons = proxyClass.getConstructor(InvocationHandler.class); in createProxy() local 111 proxy = cons.newInstance(handler); in createProxy()
|
/art/test/046-reflect/src/ |
D | Main.java | 370 Constructor<Target> cons; in run() local 374 cons = target.getConstructor(int.class, float.class); in run() 376 System.out.println("cons modifiers=" + cons.getModifiers()); in run() 377 targ = cons.newInstance(args); in run()
|
/art/runtime/interpreter/ |
D | unstarted_runtime_test.cc | 1344 Handle<mirror::Constructor> cons; in TEST_F() local 1346 cons = hs.NewHandle( in TEST_F() 1348 ASSERT_TRUE(cons != nullptr); in TEST_F() 1350 cons = hs.NewHandle( in TEST_F() 1352 ASSERT_TRUE(cons != nullptr); in TEST_F() 1364 shadow_frame->SetVRegReference(0, cons.Get()); in TEST_F()
|
D | unstarted_runtime.cc | 268 auto* cons = h_klass->FindConstructor("()V", cl->GetImagePointerSize()); in UnstartedClassNewInstance() local 269 if (cons != nullptr) { in UnstartedClassNewInstance() 272 EnterInterpreterFromInvoke(self, cons, h_obj.Get(), nullptr, nullptr); in UnstartedClassNewInstance()
|
/art/test/046-reflect/ |
D | expected.txt | 90 cons modifiers=1
|
/art/test/956-methodhandles/src/ |
D | Main.java | 1569 Constructor cons = UnreflectTester.class.getConstructor(String.class, boolean.class); in testRevealDirect() local 1578 assertEquals(cons, info.reflectAs(Constructor.class, MethodHandles.lookup())); in testRevealDirect()
|