Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for instead (0.14 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationsList.kt

         * ```
         * @param classId [ClassId] to search
         */
        public operator fun contains(classId: ClassId): Boolean
    
        @Deprecated("Use 'contains' instead.", replaceWith = ReplaceWith("contains(classId)"))
        public fun hasAnnotation(classId: ClassId): Boolean = contains(classId)
    
        /**
         * A list of annotations applied with specified [classId].
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotated.kt

     *
     * @see [KaAnnotationList.annotations]
     */
    @Deprecated("Use the 'annotations' the member property instead.")
    public val KaAnnotated.annotations: List<KaAnnotation>
        get() = annotations
    
    @Deprecated("Use 'annotations' instead.", replaceWith = ReplaceWith("annotations"))
    public val KaAnnotated.annotationInfos: List<KaAnnotationApplicationInfo>
        get() = annotations
    
    /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt

        public abstract val qualifiers: List<KaClassTypeQualifier.KaResolvedClassTypeQualifier>
    
        @Deprecated("Use 'symbol' instead.", ReplaceWith("symbol"))
        public val classSymbol: KaClassLikeSymbol
            get() = symbol
    
        @Deprecated("Use 'typeArguments' instead.", ReplaceWith("typeArguments"))
        public val ownTypeArguments: List<KaTypeProjection>
            get() = typeArguments
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-standalone/analysis-api-fir-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneFirDirectInheritorsProvider.kt

            // which results in an exception since we don't have a decompiler for them. See KT-64898, KT-64899, and KT-64900. If not for these
            // issues, we would be able to use `analyze` instead of custom session logic.
            val session = LLFirSessionCache.getInstance(project).getSession(ktModule, preferBinary = true)
            return session.symbolProvider.getClassLikeSymbolByClassId(classId)
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationApplication.kt

         * because effectively you already have all necessary information in [KaAnnotationApplicationInfo]
         */
        public val hasArguments: Boolean
    
        @Deprecated("Use 'hasArguments' instead.", replaceWith = ReplaceWith("hasArguments"))
        public val isCallWithArguments: Boolean
            get() = hasArguments
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/typeUtils.kt

        get() = (this as? KaNonErrorClassType)?.symbol
    
    /**
     * Returns a [KtClassLikeSymbol] for this [KtType] if the type represents a uniquely resolvable class/object/type alias.
     */
    @Deprecated("Use 'symbol' instead.", ReplaceWith("this.symbol"))
    public val KtType.classSymbol: KaClassLikeSymbol?
        get() = symbol
    
    /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/KotlinPlatformComponent.kt

    /**
     * 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)
  8. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/modification/KotlinModificationTrackerFactory.kt

         *
         * #### Example 1
         *
         * ```
         * val x = 10<caret>
         * val z = x
         * ```
         *
         * If we change the initializer of `x` to `"str"` the return type of `x` will become `String` instead of the initial `Int`. This will
         * change the return type of `z` as it does not have an explicit type. So, it is an **OOBM**.
         *
         * #### Example 2
         *
         * ```
         * val x: Int = 10<caret>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirNamedClassOrObjectSymbol.kt

        /**
         * We can use [FirRegularClassSymbol.rawStatus] to avoid unnecessary resolve unless there are status transformers present.
         * If they are present, we have to resort to [FirRegularClassSymbol.resolvedStatus] instead - otherwise we can observe incorrect status
         * properties.
         *
         * TODO This optimization should become obsolete after KT-56551 is fixed.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneAnnotationsResolver.kt

    import org.jetbrains.kotlin.name.FqName
    import org.jetbrains.kotlin.psi.*
    import org.jetbrains.kotlin.utils.filterIsInstanceAnd
    
    /**
     * This implementation works only for FQN annotations usages (`@foo.Bar` instead of `@Bar`).
     * It does not perform the full resolve of the annotation call, but it checks whether the annotation
     * with such FQN is present in the [scope] with [KotlinDeclarationProvider].
     *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top