Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 169 for Implicits (0.34 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSmartCastProvider.kt

        /**
         * Returns the list of implicit smart-casts which are required for the expression to be called. Includes only implicit
         * smart-casts:
         *
         * ```kt
         * if (this is String) {
         *   this.substring() // 'this' receiver is explicit, so no implicit smart-cast here.
         *
         *   smartcast() // 'this' receiver is implicit, therefore there is implicit smart-cast involved.
         * }
         * ```
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationPublicationsTest.groovy

            expect:
            def variants = getOutgoingVariants(publications)
            variants.size() == 2
    
            def implicit = variants.first()
            implicit.displayName == displayName
            implicit.attributes == AttributeTestUtil.attributes(["thing": "value1"])
            implicit.artifacts == allArtifacts
    
            def explicit = (variants as List)[1]
            explicit.displayName.displayName == '<config> variant child'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtReferenceResolveMixIn.kt

        }
    
        /**
         * Checks if the reference is an implicit reference to a companion object via the containing class.
         *
         * Example:
         * ```
         * class A {
         *    companion object {
         *       fun foo() {}
         *    }
         * }
         * ```
         *
         * For the case provided, inside the call `A.foo()`,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 08:30:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaReceiverValue.kt

        override val type: KaType by validityAsserted(type)
    }
    
    /**
     * An implicit receiver. For example
     * ```
     * class A {
     *   val i: Int = 1
     *   fun test() {
     *     i // implicit receiver bound to class `A`
     *   }
     * }
     *
     * fun String.test() {
     *   length // implicit receiver bound to the `KaReceiverParameterSymbol` of type `String` declared by `test`.
     * }
     * ```
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ModuleDependency.java

        /**
         * <p>Adds an artifact to this dependency.</p>
         *
         * <p>If no artifact is added to a dependency, an implicit default artifact is used. This default artifact has the
         * same name as the module and its type and extension is {@code jar}. If at least one artifact is explicitly added,
         * the implicit default artifact won't be used any longer.</p>
         *
         * @return this
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 16:14:52 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiSpecification.groovy

            }
        }
    
        /**
         * Returns the set of implicit selector names expected for any project for the target Gradle version.
         *
         * <p>Note that in some versions the handling of implicit selectors was broken, so this method may return a different value
         * to {@link #getImplicitTasks()}.
         */
        Set<String> getImplicitSelectors() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_tidy_compat_implicit.txt

    // as under Go 1.16, but under 1.16 its (implicit) external test dependencies
    // are higher.
    module example.com/m
    
    go 1.17
    
    replace (
    	example.net/lazy v0.1.0 => ./lazy
    	example.net/requireincompatible v0.1.0 => ./requireincompatible
    )
    
    require example.net/lazy v0.1.0
    -- implicit.go --
    package implicit
    
    import _ "example.net/lazy"
    -- lazy/go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/GraphVariantSelector.java

        }
    
        /**
         * A method that helps performance of selection by quickly checking if a
         * metadata container only contains a single, shadowed (the implicit) capability.
         *
         * @return {@code true} if the variant only contains the implicit capability
         */
        private static boolean fastContainsImplicitCapability(ImmutableSet<ImmutableCapability> capabilities) {
            if (capabilities.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/build/BuildStateRegistry.java

         */
        IncludedBuildState addIncludedBuild(BuildDefinition buildDefinition, Path buildPath);
    
        /**
         * Creates an implicit included build. An implicit build is-a nested build that is managed by Gradle and whose outputs are used by dependency resolution.
         */
        IncludedBuildState addImplicitIncludedBuild(BuildDefinition buildDefinition);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/KtSymbol.kt

         * Declaration which do not have its PSI source and was generated, they are:
         * For regular classes, implicit default constructor is generated
         * For data classes the `copy`, `component{N}`, `toString`, `equals`, `hashCode` functions are generated
         * For enum classes the `valueOf` & `values` functions are generated
         * For lambda the `it` implicit parameter is generated
         */
        SOURCE_MEMBER_GENERATED,
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 09:36:27 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top