[AA] KtPsiBasedSymbolPointer: drop redundant comments
^KT-54311
This commit is contained in:
committed by
Space Team
parent
f7bd79a151
commit
588c0bbb03
-5
@@ -37,11 +37,6 @@ public class KtPsiBasedSymbolPointer<S : KtSymbol>(private val psiPointer: Smart
|
||||
public fun <S : KtSymbol> createForSymbolFromSource(symbol: S): KtPsiBasedSymbolPointer<S>? {
|
||||
if (symbol.origin != KtSymbolOrigin.SOURCE) return null
|
||||
|
||||
// If symbol points to a generated member, we won't be able to recover it later on, because there is no corresponding
|
||||
// psi by which it can be found
|
||||
// (intersection | substitution) overrides are intermediate, non-materialized (i.e., fake) members, coming from super type(s).
|
||||
// Therefore, no corresponding psi either.
|
||||
|
||||
val psi = when (val psi = symbol.psi) {
|
||||
is KtDeclaration -> psi
|
||||
is KtFile -> psi
|
||||
|
||||
Reference in New Issue
Block a user