Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 71 for SETTER (0.09 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescDefaultPropertySetterSymbol.kt

            override val analysisContext: Fe10AnalysisContext
        ) : KaValueParameterSymbol(), KaFe10Symbol {
            val descriptor: ValueParameterDescriptor?
                get() = propertyDescriptor.setter?.valueParameters?.singleOrNull()
    
            override val hasDefaultValue: Boolean
                get() = withValidityAssertion { false }
    
            override val isVararg: Boolean
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPropertyGetterSymbol.kt

        override val annotations by cached {
            KaFirAnnotationListForDeclaration.create(firSymbol, builder)
        }
    
        /**
         * Returns [CallableId] of the delegated Java method if the corresponding property of this setter is a synthetic Java property.
         * Otherwise, returns `null`
         */
        override val callableId: CallableId? by cached {
            val fir = firSymbol.fir
            if (fir is FirSyntheticPropertyAccessor) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            // but all user-facing interfaces and their implementations do.
            property."$setter"(providerWithSideEffect)
    
            property.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead)
            property.calculateExecutionTimeValue()
    
            then:
            0 * _ // no side effects when calling setter or calculated values are not unpacked
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPropertySetterSymbol.kt

        override val annotations by cached {
            KaFirAnnotationListForDeclaration.create(firSymbol, builder)
        }
    
        /**
         * Returns [CallableId] of the delegated Java method if the corresponding property of this setter is a synthetic Java property.
         * Otherwise, returns `null`
         */
        override val callableId: CallableId? by cached {
            val fir = firSymbol.fir
            if (fir is FirSyntheticPropertyAccessor) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

                    )
    
                return kotlinType.toKtType(analysisContext)
            }
    
            // Manually handle custom setter parameter
            if (declaration is KtParameter) {
                val parameterList = declaration.parent as? KtParameterList
                if (parameterList?.parameters?.singleOrNull() == declaration) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeCodeGenTest.groovy

                        @ReplacedAccessor(value = AccessorType.GETTER, name = "getDestinationDir"),
                        @ReplacedAccessor(value = AccessorType.SETTER, name = "setDestinationDir"),
                        @ReplacedAccessor(value = AccessorType.SETTER, name = "destinationDir", originalType = File.class)
                    })
                    public abstract DirectoryProperty getDestinationDirectory();
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java

                                }
                            } else {
                                // Coerce the value to the type accepted by the property setter and invoke the setter directly
                                Class setterType = metaBeanProperty.getSetter().getParameterTypes()[0].getTheClass();
                                value = propertySetTransformer.transformValue(setterType, value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionFailureIntegrationTest.groovy

    import static org.gradle.api.tasks.options.TaskOptionFixture.taskWithMultipleOptions
    
    class TaskOptionFailureIntegrationTest extends AbstractOptionIntegrationSpec {
    
        def "annotation cannot be assigned to a setter method multiple times"() {
            given:
            buildFile << """
                task sample(type: SampleTask)
    
                ${taskWithMultipleOptionsForSingleProperty('String', 'hello', 'Some description')}
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/process/JavaExecSpec.java

         * <p>
         *
         * @since 6.4
         */
        @Optional
        @Input
        @ReplacesEagerProperty(
            replacedAccessors = @ReplacedAccessor(value = AccessorType.SETTER, name = "setMain", fluentSetter = true),
            binaryCompatibility = ACCESSORS_KEPT,
            deprecation = @ReplacedDeprecation(removedIn = RemovedIn.GRADLE9, withDslReference = true)
        )
        Property<String> getMainClass();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolInfoProvider.kt

            if (jvmNameFromProperty != null) {
                return jvmNameFromProperty
            }
    
            val accessor = if (isSetter) property.setter else property.getter
            val jvmNameFromAccessor = accessor?.getJvmNameFromAnnotation(analysisSession.useSiteSession)
            if (jvmNameFromAccessor != null) {
                return jvmNameFromAccessor
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top