igor.wojda
01/12/2022, 8:46 AMjar
file (from Android library aar
), decompiled it and I see that this Kotlin class is missing Kotlin metadata (class is not annotated with @Metadata
annotation). What could be the reason?
The issue is that library user cannot use Kotlin related constructs like named arguments, so I wonder is there a setting or compiler flag to always add Kotlin metadata? 🤔
expected result in compiled class:
@Metadata(mv = {1, 6, 0}, k = 1, xi = 48, d1 = {"\000$\n\002\030\00"}..."})
public final class MyClass {
...
}