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))
1358
+
.firstOrNull { it.owner.parentClassOrNull?.fqNameWhenAvailable?.asString() == type }
1359
+
?.owner
1360
+
1361
+
if (prop !=null) {
1362
+
if (prop.parentClassOrNull !=null) {
1363
+
extractExternalClassLater(prop.parentAsClass)
1364
+
}
1365
+
} else {
1366
+
logger.errorElement("Couldn't find JVM intrinsic property $propertyFilter in $type", warnAgainstElement)
1367
+
}
1368
+
1369
+
return prop
1370
+
}
1371
+
1355
1372
val javaLangString by lazy {
1356
1373
val result = pluginContext.referenceClass(FqName("java.lang.String"))?.owner
1357
1374
result?.let { extractExternalClassLater(it) }
@@ -1865,6 +1882,27 @@ open class KotlinFileExtractor(
1865
1882
}
1866
1883
}
1867
1884
}
1885
+
isBuiltinCall(c, "<get-java>", "kotlin.jvm") -> {
1886
+
// 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