- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,572 for classid (0.26 sec)
-
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationsList.kt
/** * Checks if entity contains annotation with specified [classId]. * * The semantic is equivalent to * ``` * annotationsList.hasAnnotation(classId) == annotationsList.annotations.any { it.classId == classId } * ``` * @param classId [ClassId] to search */ public operator fun contains(classId: ClassId): Boolean
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 2.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/KtFirAnnotationListForType.kt
} override fun contains(classId: ClassId): Boolean = withValidityAssertion { return backingAnnotations.any { it.classId == classId } } override fun get(classId: ClassId): List<KaAnnotation> = withValidityAssertion { return backingAnnotations.filter { it.classId == classId } } override val classIds: Collection<ClassId> get() = withValidityAssertion {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 3.7K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/annotations/KtFe10AnnotationsList.kt
fe10Annotations.hasAnnotation(classId.asSingleFqName()) } override fun get(classId: ClassId): List<KaAnnotation> = withValidityAssertion { if (classId in ignoredAnnotations) return@withValidityAssertion emptyList() fe10Annotations.mapIndexedNotNull { index, annotation -> if (annotation.classIdForAnnotation != classId) {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 3.7K bytes - Viewed (0) -
analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/annotations/KtEmptyAnnotationsList.kt
throw IndexOutOfBoundsException("Index $index out of bounds") } override fun contains(classId: ClassId): Boolean = withValidityAssertion { return false } override fun get(classId: ClassId): List<KaAnnotation> = withValidityAssertion { return emptyList() } override val classIds: Set<ClassId> get() = withValidityAssertion { emptySet() }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 1.4K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotated.kt
public fun KaAnnotated.annotationsByClassId(classId: ClassId): List<KaAnnotation> { return annotations[classId] } /** * A list of annotations applied. * * @see [KaAnnotationList.classIds] */ @Deprecated("Use 'annotations' instead.", replaceWith = ReplaceWith("annotations.classIds")) public val KaAnnotated.annotationClassIds: Collection<ClassId>
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 2K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeInfoProvider.kt
public val DOUBLE: ClassId = ClassId.topLevel(StandardNames.FqNames._double.toSafe()) public val CHAR: ClassId = ClassId.topLevel(StandardNames.FqNames._char.toSafe()) public val BOOLEAN: ClassId = ClassId.topLevel(StandardNames.FqNames._boolean.toSafe()) public val STRING: ClassId = ClassId.topLevel(StandardNames.FqNames.string.toSafe())
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 08:26:19 UTC 2024 - 10.2K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/SymbolByFqName.kt
} } data class SamConstructorData(val classId: ClassId) : SymbolData() { override fun KaSession.toSymbols(ktFile: KtFile): List<KaSymbol> { val symbol = getClassOrObjectSymbolByClassId(classId) ?: getTypeAliasByClassId(classId) ?: error("Class-like symbol is not found by '$classId'")
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 8K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirJavaDeclaredMembersOnlyScope.kt
require(!owner.isLocal) { "Unexpected local Java class in ${FirJavaDeclaredMembersOnlyScope::class.simpleName}." } } private fun FirCallableDeclaration.isDeclared(): Boolean = symbol.callableId.classId == owner.classId && origin !is FirDeclarationOrigin.SubstitutionOverride && origin != FirDeclarationOrigin.IntersectionOverride
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Oct 10 13:38:00 UTC 2023 - 2.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/KtFirAnnotationListForDeclaration.kt
} override fun contains(classId: ClassId): Boolean = withValidityAssertion { return hasAnnotation(firSymbol, classId, useSiteSession) } override fun get(classId: ClassId): List<KaAnnotation> = withValidityAssertion { return annotationsByClassId(firSymbol, classId, builder) } override val classIds: Collection<ClassId> get() = withValidityAssertion {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 3K bytes - Viewed (0) -
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinFileBasedDeclarationProvider.kt
} } override fun getClassLikeDeclarationByClassId(classId: ClassId): KtClassLikeDeclaration? { return getClassLikeDeclarationsByClassId(classId).firstOrNull() } override fun getAllClassesByClassId(classId: ClassId): Collection<KtClassOrObject> { return getClassLikeDeclarationsByClassId(classId).filterIsInstance<KtClassOrObject>().toList() }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 6.3K bytes - Viewed (0)