I was doing some refactoring of a class and went to inline a method
and... it just didn't work. I tried a couple of approaches and kept
getting an error:
Cannot perform refactoring. The caret should be positioned at the name
of the element to be refactored.
(even though I had carefully placed it in what should have been the