aurimas
10/11/2019, 4:00 PMreified types. For example:
package test.pkg
inline fun <reified T> Context.systemService1() = getSystemService(T::class.java)
inline fun Context.systemService2() = getSystemService(String::class.java)
For this PsiClassItem call to methods only returns 1 method (the one without reified). Removing reified brings it back, going back to older version of UAST also brings it back. I was wondering if this sounds familiar to anyone?aurimas
10/11/2019, 4:12 PMKoltinUClass in the KoltinUFile and call asSourceString I get
public final class _java_Kt {
public static final fun systemService2(@org.jetbrains.annotations.NotNull $this$systemService2: test.pkg.Context) : java.lang.String {
return getSystemService(java.lang.String.java)
}
}
which shows the other method as stripped 😕aurimas
10/11/2019, 4:13 PMKotlinUClass#asSourceString
package test.pkg
public final class _java_Kt {
public static final fun systemService2(@org.jetbrains.annotations.NotNull $this$systemService2: test.pkg.Context) : java.lang.String {
return getSystemService(java.lang.String.java)
}
}aurimas
10/11/2019, 7:37 PM