Hi.

There is very annoying logic of accessors refactoring.
For example imaging your class already has getter for variable #myInstVar
but with some extra code instead of simple return. For example it could be
lazy initialization:


MyClass>>myInstVar
   ^myInstVar ifNil: [#someValue]


In that case accessors generator will suggest you new getter method
#myInstVar*1. *
I really doubt that anybody accept generation of such method.
I always remove it from changes list which is very annoying.

Am I alone about it? Can we remove this logic?

Best regards,
Denis

Reply via email to