boolean (@NotNull Editor editor, @NotNull Object refactoringKey) { InplaceRefactoringContinuation continuation = editor.getUserData(INPLACE_REFACTORING_CONTINUATION); return continuation != null && continuation.getRefactoringKey() == refactoringKey; }