mbien commented on PR #7339:
URL: https://github.com/apache/netbeans/pull/7339#issuecomment-2092019865

   i went back and forth with implementing record accessors as getter generator 
or implements / override generator.
   
   Ended up implementing it as override generator, since:
    - [JEP 395](https://openjdk.org/jeps/395) uses the term component 
accessors, getters are elements of the bean pattern and records are no beans
    - they are already there, so override makes most sense semantically 
(technically it is _replacing_ the impl since javac won't generate the 
synthetic method if it already exists)
   
   I still don't like that the templates for simple tasks like those here are 
user customizable since there is nothing to customize other than removing a 
link.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to