Skip to content

Commit ad724ca

Browse files
fedochetSpace Team
authored andcommitted
[AA] KT-74867 Add clarifying kdoc to FirPredicateBasedProvider.getSymbolsByPredicate
1 parent 5cb5aeb commit ad724ca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

compiler/fir/tree/src/org/jetbrains/kotlin/fir/extensions/FirPredicateBasedProvider.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ import org.jetbrains.kotlin.fir.symbols.FirBasedSymbol
1717

1818
abstract class FirPredicateBasedProvider : FirSessionComponent {
1919
/**
20-
* @return list of all declarations from compiled source module which are matched to [predicate]
20+
* Returns a list of all declarations from compiled source module which are matched to [predicate].
21+
*
22+
* All returned declarations are guaranteed to be non-local due to the contract of [LookupPredicate]
23+
* (see the documentation on [AbstractPredicate] for more details).
2124
*/
2225
abstract fun getSymbolsByPredicate(predicate: LookupPredicate): List<FirBasedSymbol<*>>
2326

0 commit comments

Comments
 (0)