FIR IDE: add KDoc for KtSymbol.psi
This commit is contained in:
@@ -11,6 +11,14 @@ import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.KtSymbolPointer
|
||||
|
||||
interface KtSymbol : ValidityTokenOwner {
|
||||
val origin: KtSymbolOrigin
|
||||
|
||||
/**
|
||||
* [PsiElement] which corresponds to given [KtSymbol]
|
||||
* If [origin] is one of [KtSymbolOrigin.SOURCE], [KtSymbolOrigin.JAVA], [KtSymbolOrigin.LIBRARY] then the source is not null
|
||||
* For other [KtSymbolOrigin] behaviour is undefined
|
||||
*
|
||||
* For [KtSymbolOrigin.LIBRARY] the generated by Kotlin class file source element is returned
|
||||
*/
|
||||
val psi: PsiElement?
|
||||
|
||||
fun createPointer(): KtSymbolPointer<KtSymbol>
|
||||
|
||||
Reference in New Issue
Block a user