Description
While it is not normal to override record component getters, it is perfectly allowable.
The following record is getting both an "x()" method and a "getX()" method. The supplied "x()" method isn't being associated correctly with the property.
record Foo(String x, String y) { String x() { 'z' } }