Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for badtype (0.18 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy

        }
    
        def "reports when task field is declared with type #baseType"() {
            buildFile << """
                plugins { id "java" }
    
                class SomeBean {
                    private ${baseType.name} badField
                }
    
                class SomeTask extends DefaultTask {
                    private final ${baseType.name} badField
                    private final bean = new SomeBean()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/problems/PropertyTraceTest.kt

        @Test
        fun `field of bean found in input property of task`() {
    
            val beanType = PropertyTraceTest::class.java
            val taskType = Task::class.java
    
            assertThat(
                PropertyTrace.Property(
                    PropertyKind.Field,
                    "f",
                    PropertyTrace.Bean(
                        beanType,
                        PropertyTrace.Property(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/SerializedLambdaParametersCheckingCodec.kt

            baseType: KClass<*>
        ) {
            logUnsupported(
                "serialize",
                // TODO: maybe introduce a separate section for the lambda serialization contract
                DocumentationSection.RequirementsDisallowedTypes
            ) {
                text(" a lambda that captures or accepts a parameter of type ")
                reference(baseType)
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt

            override val isolate: WriteIsolate
                get() = undefined()
    
            override val circularReferences: CircularReferences
                get() = undefined()
    
            override fun beanStateWriterFor(beanType: Class<*>): BeanStateWriter =
                undefined()
    
            override fun writeClass(type: Class<*>): Unit =
                undefined()
    
            override val logger: Logger
                get() = undefined()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. schema/relationship.go

    func hasPolymorphicRelation(tagSettings map[string]string) bool {
    	if _, ok := tagSettings["POLYMORPHIC"]; ok {
    		return true
    	}
    
    	_, hasType := tagSettings["POLYMORPHICTYPE"]
    	_, hasId := tagSettings["POLYMORPHICID"]
    
    	return hasType && hasId
    }
    
    func (schema *Schema) setRelation(relation *Relationship) {
    	// set non-embedded relation
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top