FIR IDE: use CallableId for KtCallableSymbol instead of FqName
This commit is contained in:
@@ -18,6 +18,14 @@ data class CallableId(
|
||||
val PACKAGE_FQ_NAME_FOR_LOCAL = FqName.topLevel(LOCAL_NAME)
|
||||
}
|
||||
|
||||
/**
|
||||
* Return `true` if corresponding declaration is itself local or it is a member of local class
|
||||
* Otherwise, returns `false`
|
||||
*/
|
||||
val isLocal: Boolean
|
||||
get() = packageName == PACKAGE_FQ_NAME_FOR_LOCAL
|
||||
|| classId?.isLocal == true
|
||||
|
||||
var classId: ClassId? = null
|
||||
get() {
|
||||
if (field == null && className != null) {
|
||||
|
||||
Reference in New Issue
Block a user