Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for abbreviated (0.43 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt

    public sealed interface KaType : KaLifetimeOwner, KaAnnotated {
        public val nullability: KaTypeNullability
    
        /**
         * The abbreviated type for this expanded [KaType], or `null` if this type has not been expanded from an abbreviated type or the
         * abbreviated type cannot be resolved.
         *
         * An abbreviated type is a type alias application that has been expanded to some other Kotlin type. For example, if we have a type
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/types/KtExpandedTypeRenderingMode.kt

     * which can still be expanded.
     */
    public enum class KaExpandedTypeRenderingMode {
        /**
         * Renders only the abbreviated type as-is, e.g. `foo.bar.StringAlias`.
         */
        RENDER_ABBREVIATED_TYPE,
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/typeUtils.kt

    public val KtType.classSymbol: KaClassLikeSymbol?
        get() = symbol
    
    /**
     * Returns the [KaType]'s [abbreviated type][KaType.abbreviatedType], or the type itself if it doesn't have an abbreviated type.
     *
     * A common pattern is to prefer the abbreviated type if it exists, and otherwise take the original type, for example to find the best
     * target for navigation.
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/execution/TaskNameMatchingIntegrationTest.groovy

                    doLast { }
                }
            """
    
            when:
            run("sanityCheck", "--info")
    
            then:
            outputContains("Task name matched 'sanityCheck'")
            outputDoesNotContain("abbreviated")
            result.assertTaskExecuted(":sanityCheck")
            result.assertTaskNotExecuted(":safetyCheck")
        }
    
        def "logs info message for pattern match"() {
            setup:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 14 08:20:12 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. pilot/pkg/xds/v3/model.go

    	WorkloadAuthorizationType  = model.WorkloadAuthorizationType
    
    	// nolint
    	HttpProtocolOptionsType = "envoy.extensions.upstreams.http.v3.HttpProtocolOptions"
    )
    
    // GetShortType returns an abbreviated form of a type, useful for logging or human friendly messages
    func GetShortType(typeURL string) string {
    	return model.GetShortType(typeURL)
    }
    
    // GetMetricType returns the form of a type reported for metrics
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/internal/types/testdata/fixedbugs/issue51578.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    var _ = (*interface /* ERROR "interface contains type constraints" */ {int})(nil)
    
    // abbreviated test case from issue
    
    type TypeSet interface{ int | string }
    
    func _() {
    	f((*TypeSet /* ERROR "interface contains type constraints" */)(nil))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 429 bytes
    - Viewed (0)
  7. pkg/model/xds.go

    	WorkloadType              = APITypePrefix + "istio.workload.Workload"
    	WorkloadAuthorizationType = APITypePrefix + "istio.security.Authorization"
    )
    
    // GetShortType returns an abbreviated form of a type, useful for logging or human friendly messages
    func GetShortType(typeURL string) string {
    	switch typeURL {
    	case ClusterType:
    		return "CDS"
    	case ListenerType:
    		return "LDS"
    	case RouteType:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/utils/typeUtils.kt

     */
    internal fun KaSymbolByFirBuilder.buildAbbreviatedType(coneType: ConeClassLikeType): KaUsualClassType? {
        return coneType.abbreviatedType?.let { abbreviatedConeType ->
            // If the resulting type is an error type, the abbreviated type couldn't be resolved. As per the contract of
            // `KaType.abbreviatedType`, we should return `null` in such cases. The user can then fall back to the expanded type.
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/execution/taskpath/ProjectNameMatchingIntegrationTest.groovy

            when:
            run("$projectPath:help", "--info")
    
            then:
            outputContains("Task path '$projectPath:help' matched project '$resolvedProject'")
            outputDoesNotContain("abbreviated")
    
            where:
            desc                                    | projectPath                           | resolvedProject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 05 22:49:56 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/types/AbstractAbbreviatedTypeTest.kt

     * the expansion-site module instead of the use-site module in these tests, as we want to check the `KaType` when it's built with an
     * expanded type from a library vs. from a source module. (Abbreviated types from libraries and from sources aren't necessarily constructed
     * in the same way.)
     *
     * This test is different from [AbstractTypeByDeclarationReturnTypeTest] because we want to generate tests for extension-site modules with
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top