void () { if (!mySkipTypeExpressionOnStart) { final PsiVariable variable = getVariable(); final PsiTypeElement typeElement = variable != null ? variable.getTypeElement() : null; if (typeElement != null) { myEditor.getCaretModel().moveToOffset(typeElement.getTextOffset()); } } final ResolveSnapshotProvider resolveSnapshotProvider = VariableInplaceRenamer.INSTANCE.forLanguage(myScope.getLanguage()); myConflictResolver = resolveSnapshotProvider != null ? resolveSnapshotProvider.createSnapshot(myScope) : null; super.beforeTemplateStart(); }