In my case I had a Kotlin class with some fields which were not open so the generated Java
setters and getters would be final. Solved it by adding open
keyword to each field.
Before:
open class User(
var id: String = "",
var email: String = ""
)
After:
open class User(
open var id: String = "",
open var email: String = ""
)