- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 26 for is_empty (0.28 sec)
-
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ReferenceShortener.kt
override val thisLabelsToShorten: List<ThisLabelToShortenInfo> = emptyList() override val kDocQualifiersToShorten: List<SmartPsiElementPointer<KDocName>> get() = emptyList() override val isEmpty: Boolean get() = true } }
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Mon Nov 20 20:18:18 GMT 2023 - 2.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt
import java.lang.annotation.ElementType internal fun mapAnnotationParameters(annotation: FirAnnotation): Map<Name, FirExpression> { if (annotation is FirAnnotationCall && annotation.arguments.isEmpty()) return emptyMap() checkWithAttachment(annotation.resolved, { "By now the annotations argument mapping should have been resolved" }) { withFirEntry("annotation", annotation)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 07:15:56 GMT 2024 - 9.6K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolProvider.kt
import org.jetbrains.kotlin.descriptors.findClassAcrossModuleDependencies import org.jetbrains.kotlin.descriptors.findTypeAliasAcrossModuleDependencies import org.jetbrains.kotlin.descriptors.isEmpty import org.jetbrains.kotlin.name.ClassId import org.jetbrains.kotlin.name.FqName import org.jetbrains.kotlin.name.Name import org.jetbrains.kotlin.psi.* import org.jetbrains.kotlin.resolve.scopes.DescriptorKindFilter
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Aug 17 13:01:02 GMT 2023 - 7K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/scopes/KtFe10FileScope.kt
yield(ktSymbol) } } } } override fun getCallableSymbols(names: Collection<Name>): Sequence<KtCallableSymbol> = withValidityAssertion { if (names.isEmpty()) return emptySequence() val namesSet = names.toSet() return getCallableSymbols { it in namesSet } }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon May 22 19:21:34 GMT 2023 - 4K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineDelegatedPropertyAccessorsAnalyzer.kt
import org.jetbrains.kotlin.psi.KtTreeVisitorVoid import org.jetbrains.kotlin.resolve.BindingContext @OptIn(KtAnalysisNonPublicApi::class) fun MutableSet<KtFile>.collectReachableInlineDelegatedPropertyAccessors() { if (isEmpty()) return // One of the compiler lowerings, namely `PropertyReferenceLowering`, // optimizes usages of property references in some cases, // and if a containing delegated property accessor is inline,
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Aug 29 23:55:31 GMT 2023 - 3.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/KtFirAnnotationListForDeclaration.kt
KtFirAnnotationListForDeclaration(firSymbol, builder) firSymbol.annotations.isEmpty() -> KtEmptyAnnotationsList(builder.token) else -> KtFirAnnotationListForDeclaration(firSymbol, builder) } } }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 07:15:56 GMT 2024 - 3K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/annotations/KtFe10AnnotationsList.kt
fe10Annotations: Annotations, analysisContext: Fe10AnalysisContext, ignoreAnnotations: Set<ClassId> = emptySet(), ): KtAnnotationsList { return if (!fe10Annotations.isEmpty()) { KtFe10AnnotationsList(fe10Annotations, ignoreAnnotations, analysisContext) } else { KtEmptyAnnotationsList(analysisContext.token) } } }
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Thu Apr 25 07:15:56 GMT 2024 - 4.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirSimpleNameReference.kt
} private fun KtAnalysisSession.fixUpAnnotationCallResolveToCtor(resultsToFix: Collection<KtSymbol>): Collection<KtSymbol> { if (resultsToFix.isEmpty() || !isAnnotationCall) return resultsToFix return resultsToFix.map { targetSymbol -> if (targetSymbol is KtFirNamedClassOrObjectSymbol && targetSymbol.classKind == KtClassKind.ANNOTATION_CLASS) {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Nov 02 21:23:43 GMT 2023 - 5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt
val fir = classSymbol.getFirForScope() val delegateFields = fir.delegateFields if (delegateFields.isEmpty()) { return getEmptyScope() } fir.lazyResolveToPhaseWithCallableMembers(FirResolvePhase.STATUS) val firScope = FirDelegatedMemberScope(
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 18.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt
partiallyAppliedSymbol: KtPartiallyAppliedSymbol<*, *> ): Map<KtTypeParameterSymbol, KtType> { val typeParameters = partiallyAppliedSymbol.symbol.typeParameters if (typeParameters.isEmpty()) return emptyMap() if (typeArguments.size < typeParameters.size) return emptyMap() val result = mutableMapOf<KtTypeParameterSymbol, KtType>()
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 70.8K bytes - Viewed (1)