void (PsiVariable variable, PsiExpression returnValue) { PsiExpression toExtract = returnValue; if (myIsEffective) { final PsiExpression initializer = copyExpression(returnValue); variable.setInitializer(initializer); toExtract = variable.getInitializer(); } addElementToExtract(toExtract); }