gtoolkit
gtoolkit copied to clipboard
RBRenameMethodRefactoring does not use the cache when computing sender/implementors
This iterates over implementors/senders instead of using the cache.
refactoring := ( RBRenameMethodRefactoring
renameMethod: #haba
in: Object
to: #haba2
permutation: #())
refactoring primitiveExecute
In a plain GT:
One solution is to hook an enhanced RBNamespace implementation in GtRenameController>>#createModel.
/cc @j-brant @refactoringdr
With the default RBNamespace:
With GtRBNamespace: (implementers and references no longer appear )
Enable the new implementation with:
RBClassModelFactory setRBNamespace: GtRBNamespace