Implement FIR loading for Java (classes, supertypes, parameters, funs)

Properties aren't implemented yet
FIR symbol provider functions return more specialized types now
Related to KT-28918, KT-29636, KT-29218

#KT-28788 Fixed
This commit is contained in:
Simon Ogorodnik
2019-02-07 11:43:12 +03:00
committed by Mikhail Glukhikh
parent 4ea3df53cc
commit 3a237416c9
21 changed files with 331 additions and 70 deletions
@@ -6,11 +6,14 @@
package org.jetbrains.kotlin.fir.symbols
import org.jetbrains.kotlin.fir.types.ConeKotlinType
import org.jetbrains.kotlin.name.ClassId
import org.jetbrains.kotlin.name.FqName
import org.jetbrains.kotlin.name.Name
// NB: with className == null we are at top level
data class CallableId(val packageName: FqName, val className: FqName?, val callableName: Name) {
val classId: ClassId? get() = className?.let { ClassId(packageName, it, false) }
constructor(packageName: FqName, callableName: Name): this(packageName, null, callableName)
override fun toString(): String {