It would be nice to get some small quick wins for Java interop:
- If a Java annotation can be applied to a method, it should be applicable to a Kotlin property and go onto the getter method.
- If a Java annotation can be applied to a type it should be propagated to the bytecode properly.
Currently these two constructs which are very common with e.g. Bean Validation don’t work right:
@Foo val name: String val name: @Bar String
The former doesn’t compile and the latter doesn’t affect generated bytecode so fixing these would be backwards compatible.