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 | 126 Constructor<?> cons; in main() local 127 cons = MemberClass.class.getConstructor(MemberClass.class); in main() 129 + getSignatureAttribute(cons)); in main()
|
/art/test/044-proxy/src/ |
D | BasicTest.java | 105 Constructor<?> cons = proxyClass.getConstructor(InvocationHandler.class); in createProxy() local 107 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 | 1328 Handle<mirror::Constructor> cons; in TEST_F() local 1330 cons = hs.NewHandle( in TEST_F() 1332 ASSERT_TRUE(cons != nullptr); in TEST_F() 1334 cons = hs.NewHandle( in TEST_F() 1336 ASSERT_TRUE(cons != nullptr); in TEST_F() 1348 shadow_frame->SetVRegReference(0, cons.Get()); in TEST_F()
|
D | unstarted_runtime.cc | 308 ArtMethod* cons = h_klass->FindConstructor("()V", cl->GetImagePointerSize()); in UnstartedClassNewInstance() local 309 if (cons != nullptr && ShouldDenyAccessToMember(cons, shadow_frame)) { in UnstartedClassNewInstance() 310 cons = nullptr; in UnstartedClassNewInstance() 312 if (cons != nullptr) { in UnstartedClassNewInstance() 315 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 | 1709 Constructor cons = UnreflectTester.class.getConstructor(String.class, boolean.class); in testRevealDirect() local 1718 assertEquals(cons, info.reflectAs(Constructor.class, MethodHandles.lookup())); in testRevealDirect()
|