How to disable @NonNull/@Nullable annotations in Kotlin generated Java code
问题 I need to disable @NonNull/@Nullable annotations in Kotlin generated Java code because some annotation adapters (code generators) cant handle properly some annotated fields Do you know how it could be done? Some Kotlin annotation or compilator directive Problem: kotlin class: open class TestModel( var test: ByteArray = ByteArray(0) ) generated java: public class TestModel { @org.jetbrains.annotations.NotNull() private byte[] test; @org.jetbrains.annotations.NotNull() public final byte[]