I've read somewhere that because of these getter setter patterns, JVM authors had to optimise their JIT to detect and inline those.
Related discussion on SO: https://stackoverflow.com/questions/37109924/if-getter-sette...
Related discussion on SO: https://stackoverflow.com/questions/37109924/if-getter-sette...