You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val prop = pluginContext.referenceProperties(FqName(propertyFilter))
1377
+
.firstOrNull { it.owner.parentClassOrNull?.fqNameWhenAvailable?.asString() == type }
1378
+
?.owner
1379
+
1380
+
if (prop !=null) {
1381
+
if (prop.parentClassOrNull !=null) {
1382
+
extractExternalClassLater(prop.parentAsClass)
1383
+
}
1384
+
} else {
1385
+
logger.errorElement("Couldn't find JVM intrinsic property $propertyFilter in $type", warnAgainstElement)
1386
+
}
1387
+
1388
+
return prop
1389
+
}
1390
+
1374
1391
val javaLangString by lazy {
1375
1392
val result = pluginContext.referenceClass(FqName("java.lang.String"))?.owner
1376
1393
result?.let { extractExternalClassLater(it) }
@@ -1884,6 +1901,27 @@ open class KotlinFileExtractor(
1884
1901
}
1885
1902
}
1886
1903
}
1904
+
isBuiltinCall(c, "<get-java>", "kotlin.jvm") -> {
1905
+
// Special case for KClass<*>.java, which is used in the Parcelize plugin. In normal cases, this is already rewritten to the property referenced below:
0 commit comments