- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 165 for constructorsOf (0.29 sec)
-
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/DataSchemaBuilder.kt
val functions = functionExtractor.memberFunctions(kClass, preIndex) val constructors = functionExtractor.constructors(kClass, preIndex) val name = kClass.fqName return DefaultDataClass(name, supertypesOf(kClass), properties, functions.toList(), constructors.toList()) } private fun supertypesOf(kClass: KClass<*>): Set<FqName> = buildSet {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:02 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/ConstructorComparator.java
*/ package org.gradle.internal.instantiation.generator; import java.util.Comparator; /** * Sorts GeneratedConstructors based on the number of parameters. * * When two constructors have the same number of parameters, we settle on a stable sort by looking at the names of the * types of the parameters. * */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanPropertyReader.kt
import org.gradle.internal.service.ServiceRegistry import org.gradle.internal.state.ModelObject import java.lang.reflect.Field class BeanPropertyReader( private val beanType: Class<*>, private val constructors: BeanConstructors, instantiatorFactory: InstantiatorFactory ) : BeanStateReader { // TODO should use the same scheme as the original bean private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
} private static <X extends Exception> List<Constructor<X>> preferringStringsThenThrowables( List<Constructor<X>> constructors) { return WITH_STRING_PARAM_THEN_WITH_THROWABLE_PARAM.sortedCopy(constructors); } // TODO: b/296487962 - Consider defining a total order over constructors. private static final Ordering<List<Class<?>>> ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST = Ordering.natural()
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 10.3K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/stored.rules
classes\ that\ are\ not\ special\ class\ and\ are\ injected\ into\ getters\ via\ @Inject\ or\ are\ injected\ into\ constructors\ via\ @Inject\ should\ be\ annotated\ with\ @ServiceScope=injected-services-should-have-service-scope-applied.txt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 08:43:33 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanConstructors.kt
import org.gradle.internal.service.scopes.ServiceScope import sun.reflect.ReflectionFactory import java.lang.reflect.Constructor /** * A global service that caches the serialization constructors for bean types. */ @ServiceScope(Scope.Global::class) class BeanConstructors( cacheFactory: CrossBuildInMemoryCacheFactory ) { private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt
extractors.flatMapTo(mutableSetOf()) { it.memberFunctions(kClass, preIndex) } override fun constructors(kClass: KClass<*>, preIndex: DataSchemaBuilder.PreIndex): Iterable<DataConstructor> = extractors.flatMapTo(mutableSetOf()) { it.constructors(kClass, preIndex) } override fun topLevelFunction(function: KFunction<*>, preIndex: DataSchemaBuilder.PreIndex): DataTopLevelFunction? =
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
import spock.lang.Issue class ObjectExtensionInstantiationIntegrationTest extends AbstractIntegrationSpec { // Document current behaviour def "can create instance of extension with multiple constructors without @Inject annotation"() { buildFile """ class Thing { String a String b Thing(String a, String b = a) { this.a = a
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 16.9K bytes - Viewed (0) -
test/fixedbugs/bug098.go
package main type A []int; type M map[int] int; func main() { var a *A = &A{0}; var m *M = &M{0 : 0}; // should be legal to use & here for consistency with other composite constructors (prev. line) _, _ = a, m; } /* uetli:~/Source/go1/test/bugs gri$ 6g bug098.go && 6l bug098.6 && 6.out bug098.go:10: illegal types for operand: AS (*MAP[<int32>INT32]<int32>INT32)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 582 bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/scopes/KtFe10PackageScope.kt
import org.jetbrains.kotlin.resolve.scopes.MemberScope internal class KaFe10PackageScope( scope: MemberScope, private val owner: KaPackageSymbol, analysisContext: Fe10AnalysisContext ) : KaFe10ScopeMember(scope, constructors = emptyList(), analysisContext) { override fun getPackageSymbols(nameFilter: KaScopeNameFilter): Sequence<KaPackageSymbol> = withValidityAssertion {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.5K bytes - Viewed (0)