karelpeeters
07/08/2017, 5:16 PMA Kotlin property is compiled to the following Java elements:
- A getter method, with the name calculated by prepending the get prefix;
- A setter method, with the name calculated by prepending the set prefix (only for var properties);
- A private field, with the same name as the property name (only for properties with backing fields).