Home | History | Annotate | Download | only in native

Lines Matching defs:constructor

508   Handle<mirror::Constructor> result = hs.NewHandle(
540 auto h_constructors = hs.NewHandle(mirror::ObjectArray<mirror::Constructor>::Alloc(
541 soa.Self(), mirror::Constructor::ArrayClass(), constructor_count));
551 auto* constructor = mirror::Constructor::CreateFromArtMethod<kRuntimePointerSize, false>(
553 if (UNLIKELY(constructor == nullptr)) {
557 h_constructors->SetWithoutChecks<false>(constructor_count++, constructor);
593 // Add non-constructor declared methods.
823 ArtMethod* constructor = klass->GetDeclaredConstructor(
827 if (UNLIKELY(constructor == nullptr) || ShouldBlockAccessToMember(constructor, soa.Self())) {
829 "%s has no zero argument constructor",
848 // Verify that we can access the constructor.
849 auto* declaring_class = constructor->GetDeclaringClass();
850 if (!constructor->IsPublic()) {
856 constructor->GetAccessFlags(),
860 constructor->PrettyMethod().c_str(), caller->PrettyClass().c_str());
872 // Invoke the constructor.
875 constructor->Invoke(soa.Self(), args, sizeof(args), &result, "V");
891 "([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;"),
892 FAST_NATIVE_METHOD(Class, getDeclaredConstructorsInternal, "(Z)[Ljava/lang/reflect/Constructor;"),
903 FAST_NATIVE_METHOD(Class, getEnclosingConstructorNative, "()Ljava/lang/reflect/Constructor;"),