Trying to convert some java to kotlin. I have a java interface that has some getters, the class that will implement that interface will have to implement the methods. Now the problem is that getX() in java will just be my variable x in kotlin if I try to access it. So a solution would be to name the variable something else and have private get for it, and use the method to return it. I do not like that because I will have too many of those and that a lot of lines of code. Those variables will also be injected later through dependecies, so I have to make them lateinit. I created a small example of what I thought would solve my problem, but I cant have private setters in this case. I dont want anyone implementing my interface by accident use the setters. Any suggestions what I can do? Ask if I explained poorly