Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Optional (0.73 sec)

  1. platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/FlowParametersInstantiator.kt

                parameters,
                object : ProblemRecordingTypeValidationContext(type, { Optional.empty() }) {
                    override fun recordProblem(problem: Problem) {
                        problems.add(problem)
                    }
                },
                object : PropertyVisitor {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:01:34 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskNodeCodec.kt

        data class Input(
            val propertyName: String,
            val propertyValue: PropertyValue,
            val optional: Boolean
        ) : RegisteredProperty()
    
        data class InputFile(
            val propertyName: String,
            val propertyValue: PropertyValue,
            val optional: Boolean,
            val filePropertyType: InputFilePropertyType,
            val behavior: InputBehavior,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/KotlinPlatformComponent.kt

     * example, the Standalone API uses a `KotlinStandalone` prefix for its own platform component implementations.
     */
    public interface KotlinPlatformComponent
    
    /**
     * An optional [KotlinPlatformComponent]. The Analysis API engine does not require an optional platform component to be implemented and
     * will use sensible fallbacks or disable/avoid certain behaviors instead.
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-tooling-models/src/main/kotlin/org/gradle/declarative/dsl/schema/FunctionSemantics.kt

                ConfigureBlockRequirement.NotAllowed::class,
                ConfigureBlockRequirement.Optional::class,
                ConfigureBlockRequirement.Required::class
            ])
            sealed interface ConfigureBlockRequirement : Serializable {
                interface NotAllowed : ConfigureBlockRequirement
                interface Optional : ConfigureBlockRequirement
                interface Required : ConfigureBlockRequirement
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:43:01 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

                        mapping.computeIfAbsent(element) { _ ->
                            unmappedCount -= 1
                            // Here we intentionally use the 'Optional' wrapper to make 'computeIfAbsent' work smoothly
                            Optional.ofNullable(computeTarget(element))
                        }
                    }
    
                    if (unmappedCount > 0) {
                        element.acceptChildren(this)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt

                "Kotlin DSL script compilation (${programId.templateId})"
    
    
            override fun shouldDisableCaching(detectedOverlappingOutputs: OverlappingOutputs?): Optional<CachingDisabledReason> {
                if (cachingDisabledByProperty) {
                    return Optional.of(CACHING_DISABLED_REASON)
                }
    
                return super.shouldDisableCaching(detectedOverlappingOutputs)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/BuildFlowScope.kt

    import org.gradle.internal.instantiation.InstantiatorFactory
    import org.gradle.internal.isolated.IsolationScheme
    import org.gradle.internal.service.scopes.Scope
    import org.gradle.internal.service.scopes.ServiceScope
    import java.util.Optional
    import javax.inject.Inject
    
    
    @NonExtensible
    @ServiceScope(Scope.Build::class)
    open class BuildFlowScope @Inject internal constructor(
        private val flowScheduler: FlowScheduler,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/permissions/KotlinAnalysisPermissionOptions.kt

         */
        public val defaultIsAnalysisAllowedInWriteAction: Boolean
    
        public companion object {
            /**
             * Due to KT-68386, the service registration is currently optional, with defaults for Standalone as it cannot register its own
             * permission options.
             *
             * TODO (KT-68386): Remove this once KT-68386 is fixed.
             */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/DefaultAnalysisSchema.kt

                private
                fun readResolve(): Any = DefaultNotAllowed
            }
    
            @Serializable
            @SerialName("optional")
            data object DefaultOptional : ConfigureBlockRequirement.Optional {
                private
                fun readResolve(): Any = DefaultOptional
            }
    
            @Serializable
            @SerialName("required")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/FunctionCallResolver.kt

                ?: return emptyList()
            val functionName = functionCall.name
            val matchingMembers = receiverType.memberFunctions.filter { it.simpleName == functionName }
            // TODO: support optional parameters?
            // TODO: support at least minimal overload resolution?
            val args = functionCall.args
    
            // TODO: lambdas are handled in a special way and don't participate in signature matching now
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top