See RefactorMercilessly.