- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 477 for constructors (0.19 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectingInstantiatorTest.groovy
when: instantiator.newInstance(HasMixedConstructors, new StringBuilder("param")) then: ObjectInstantiationException e = thrown() e.cause.message == "Class DependencyInjectingInstantiatorTest.HasMixedConstructors has no constructor that is annotated with @Inject." }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 04:41:06 UTC 2024 - 13.2K bytes - Viewed (0) -
maven-di/src/main/java/org/apache/maven/di/impl/ReflectionUtils.java
} if (constructors.isEmpty()) { throw failedImplicitBinding(key, "inject annotation on interface"); } if (constructors.size() > 1) { throw failedImplicitBinding(key, "inject annotation on class with multiple constructors"); } Constructor<T> declaredConstructor = (Constructor<T>) constructors.iterator().next();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Feb 09 17:13:31 UTC 2024 - 16K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
@SuppressWarnings({"unchecked", "rawtypes"}) List<Constructor<X>> constructors = (List) Arrays.asList(exceptionClass.getConstructors()); for (Constructor<X> constructor : preferringStringsThenThrowables(constructors)) { X instance = newFromConstructor(constructor, cause); if (instance != null) { if (instance.getCause() == null) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 11.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
@SuppressWarnings({"unchecked", "rawtypes"}) List<Constructor<X>> constructors = (List) Arrays.asList(exceptionClass.getConstructors()); for (Constructor<X> constructor : preferringStringsThenThrowables(constructors)) { X instance = newFromConstructor(constructor, cause); if (instance != null) { if (instance.getCause() == null) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 10.3K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt
} override fun constructors(kClass: KClass<*>, preIndex: DataSchemaBuilder.PreIndex): Iterable<DataConstructor> = kClass.constructors.filter { it.visibility == KVisibility.PUBLIC && includeFilter.shouldIncludeMember(it) } .map { constructor -> constructor(constructor, kClass, preIndex) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 11:58:18 UTC 2024 - 13.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/ObjectExtensionInstantiationIntegrationTest.groovy
fails() failure.assertHasCause("Could not create an instance of type Thing.") failure.assertHasCause("Unable to determine constructor argument #2: value 12 not assignable to type String") } def "fails when mismatched construction parameters provided when there are multiple constructors"() { buildFile """ class Thing { Thing(String a, String b) { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 16.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy
- Cannot be a parameterized type. - Constructor DefaultStructBindingsStoreTest.MultipleProblems(java.lang.String) is not valid: Custom constructors are not supported. - Field field2 is not valid: Fields must be static final. - Constructor DefaultStructBindingsStoreTest.MultipleProblemsSuper(java.lang.String) is not valid: Custom constructors are not supported.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 26.8K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt
val descriptor = getDescriptor<ClassDescriptor>(classSymbol) ?: return getEmptyScope() return KaFe10ScopeMember(descriptor.unsubstitutedMemberScope, descriptor.constructors, analysisContext) } override fun getStaticMemberScope(symbol: KaSymbolWithMembers): KaScope { val descriptor = getDescriptor<ClassDescriptor>(symbol) ?: return getEmptyScope()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 12.6K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/FunctionCallResolver.kt
} } } } val constructors = candidateTypes .flatMap { (it as? DataClass)?.constructors.orEmpty() } .filter { it.parameters.size == functionCall.args.size } return chooseMatchingOverloads(null, constructors, functionCall.args, argResolution) } private fun TypeRefContext.chooseMatchingOverloads(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 14:27:23 UTC 2024 - 19.9K bytes - Viewed (0) -
tensorflow/cc/framework/ops.h
public: /// Initializer enables constructing an Input object from various kinds of C++ /// constants such as simple primitive constants and nested initializer lists /// representing a multi-dimensional array. Initializer constructors are all /// templates, so the aforementioned kinds of C++ constants can be used to /// construct an Initializer. Initializer stores the value it got constructed /// with in a Tensor object. struct Initializer {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 10.5K bytes - Viewed (0)