I don't understand what you're saying. Java records don't need getters/setters. If you want that interface there's lombok.
Records is a very new addition. lombok is writing bytecode directly to facilitate that.
Records is a very new addition. lombok is writing bytecode directly to facilitate that.