Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 411 for constructors (0.3 sec)

  1. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/services/NativeServicesInitializationTest.groovy

            e.message == "Cannot get an instance of NativeServices without first calling initialize()."
        }
    
        def "no public constructors on NativeServices" () {
            Constructor[] constructors = NativeServices.getConstructors()
    
            expect:
            constructors.size() == 0
        }
    
        private static URL jar(Class clazz) {
            clazz.getProtectionDomain().getCodeSource().getLocation()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 08:51:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/InterceptScope.java

            this.callType = callType;
        }
    
        /**
         * The returned scope includes calls to all constructors of class {@code constructorClass}.
         *
         * @param constructorClass the class whose constructors are to be intercepted
         * @return the scope object
         */
        public static InterceptScope constructorsOf(Class<?> constructorClass) {
            return new ConstructorScope(constructorClass);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 14:02:30 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/DefaultBeanStateReaderLookup.kt

    import org.gradle.internal.service.scopes.ServiceScope
    import java.util.concurrent.ConcurrentHashMap
    
    
    @ServiceScope(Scope.BuildTree::class)
    class DefaultBeanStateReaderLookup(
        private val constructors: BeanConstructors,
        private val instantiatorFactory: InstantiatorFactory
    ) : BeanStateReaderLookup {
    
        private
        val beanStateReaders = ConcurrentHashMap<Class<*>, BeanStateReader>()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanConstructors.kt

        private
        fun newConstructorForSerialization(beanType: Class<*>, constructor: Constructor<*>): Constructor<out Any> =
            ReflectionFactory.getReflectionFactory().newConstructorForSerialization(beanType, constructor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/scopes/KtFe10ScopeResolution.kt

            constructors.forEach { yield(it.toKtConstructorSymbol(analysisContext)) }
        }
    }
    
    internal open class KaFe10ScopeNonStaticMember(
        scope: MemberScope,
        constructors: Collection<ConstructorDescriptor>,
        analysisContext: Fe10AnalysisContext
    ) : KaFe10ScopeMember(scope, constructors, analysisContext) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/core-configuration/declarative-dsl-tooling-models/src/main/kotlin/org/gradle/declarative/dsl/schema/DataClass.kt

    
    interface DataClass : DataType {
        val name: FqName
        val supertypes: Set<FqName>
        val properties: List<DataProperty>
        val memberFunctions: List<SchemaMemberFunction>
        val constructors: List<DataConstructor>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:03 UTC 2024
    - 884 bytes
    - Viewed (0)
Back to top