Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 285 for CONSTRUCTOR (0.2 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt

                )
            }
        }
    
        private
        fun constructor(
            constructor: KFunction<Any>,
            kClass: KClass<*>,
            preIndex: DataSchemaBuilder.PreIndex
        ): DataConstructor {
            val params = constructor.parameters
            val dataParams = params.map { param ->
                dataParameter(constructor, param, kClass, FunctionSemanticsInternal.DefaultPure(kClass.toDataTypeRef()), 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)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java

                private final Constructor<?> constructor;
                private final InstantiationStrategy strategy;
    
                public GeneratedConstructorImpl(Constructor<?> constructor) {
                    this.constructor = constructor;
                    this.strategy = createUsingConstructor(constructor);
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 63K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

        protected InstantiationStrategy createUsingConstructor(Constructor<?> constructor) {
            return new InvokeConstructorStrategy(constructor, getRoleHandler());
        }
    
        @Override
        protected InstantiationStrategy createForSerialization(Class<?> generatedType, Class<?> baseClass) {
            Constructor<?> constructor;
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

            if (a.isNothing() || b.isNothing() || TypeUtils.equalTypes(a, b) || (a.isNullable() && b.isNullable())) {
                return true
            }
    
            val aConstructor = a.constructor
            val bConstructor = b.constructor
    
            if (aConstructor is IntersectionTypeConstructor) {
                return aConstructor.supertypes.all { areTypesCompatible(it, b) }
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/evaluationSchema/InterpretationSequence.kt

     */
    internal
    class SimpleInterpretationSequenceStepWithConversion private constructor(
        override val stepIdentifier: InterpretationSequenceStep.StepIdentifier,
        override val features: Set<InterpretationStepFeature> = emptySet(),
        buildEvaluationAndConversionSchema: () -> EvaluationAndConversionSchema
    ) : InterpretationSequenceStepWithConversion<Any> {
    
        constructor(
            stepIdentifierString: String,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       {@link NullPointerException}.
       *   <li>If there is any visible constructor or visible static factory method declared by the
       *       class, all visible instance methods will be checked too using the instance created by
       *       invoking the constructor or static factory method.
       *   <li>If the constructor or factory method used to construct instance takes a parameter that
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/pointers/SymbolPointerExceptions.kt

        public constructor(klass: KClass<*>) : this(klass.java.simpleName)
    }
    
    public class UnsupportedSymbolKind(identifier: String, kind: KaSymbolKind) : IllegalStateException(
        "For symbol with kind = KaSymbolKind.${kind.name} was $identifier"
    ) {
        public constructor(clazz: KClass<*>, kind: KaSymbolKind) : this(clazz.java.simpleName, kind)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 908 bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/secondClassContextReceiver.ir.txt

          $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.CodeFragment
          CONSTRUCTOR visibility:public <> () returnType:<root>.CodeFragment [primary]
            BLOCK_BODY
              DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
          FUN name:run visibility:public modality:FINAL <> (p0:<root>.Test) returnType:kotlin.Int
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Apr 26 06:04:06 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleClassContextReceivers.ir.txt

          $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.CodeFragment
          CONSTRUCTOR visibility:public <> () returnType:<root>.CodeFragment [primary]
            BLOCK_BODY
              DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
          FUN name:run visibility:public modality:FINAL <> (p0:<root>.Test, p1:<root>.Test) returnType:kotlin.Int
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Apr 26 06:04:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryIntegrationTest.groovy

            failure.assertHasCause('Could not create an instance of type Thing.')
            failure.assertHasCause('Unable to determine constructor argument #1: missing parameter of type Unknown, or no service of type Unknown')
        }
    
        def "object creation fails with ObjectInstantiationException when constructor throws an exception"() {
            given:
            buildFile """
            class Thing {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 07 02:25:12 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top