I’m working on moving off of non-FIR-compatible APIs and finding (in 1.8.0-Beta) that external static java methods are not modeled in functions. Is this expected?
Copy code
val jsonReaderOptionsOf by lazy {
// TODO FIR doesn't seem to be able to parse static java methods
pluginContext
.referenceClass(ClassId.fromString("com/squareup/moshi/JsonReader.Options"))!!
.functions
.single { it.owner.name.asString() == "of" }
}