- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for declarationsByAnnotation (0.16 sec)
-
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinAnnotationsResolver.kt
* full-blown resolve to understand the true FqName of used annotation. * * The next statement should be `true` for any `annotation`: * ``` * declarationsByAnnotation(annotation).all { declaration -> * annotation in annotationsOnDeclaration(declaration) * } * ``` */ public interface KotlinAnnotationsResolver { /**
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:57:40 UTC 2024 - 2.6K bytes - Viewed (0) -
analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneAnnotationsResolver.kt
} if (!isLocal) { result += it } } filesInScope.forEach { it.accept(visitor) } result } override fun declarationsByAnnotation(queriedAnnotation: ClassId): Set<KtAnnotated> { return allDeclarations.asSequence() .filter { queriedAnnotation in annotationsOnDeclaration(it) } .toSet() }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 3.3K bytes - Viewed (0)