https://kotlinlang.org logo
#android
Title
# android
n

nnesterov

11/23/2017, 1:02 PM
Hi all! Maybe you know is there any way to stop kotlin compiler from generating get and set methods for ordinary properties. Like that
var name: String = "John Doe"
. I know about
@JvmField
annotation but I want this behaviour for all properties in my project. Don’t want to add annotation on each field. Method count is realy important for me. Some more details here: https://stackoverflow.com/questions/47445518/remove-getters-and-setters-from-kotlin-code