String (@NotNull PsiElement element) { final PsiVariable variable = (PsiVariable)element.getParent(); final PsiExpression initializer = variable.getInitializer(); assert initializer != null; final PsiType type = initializer.getType(); assert type != null; return IntentionPowerPackBundle.message("change.variable.type.to.rhs.type.intention.name", variable.getName(), type.getPresentableText()); }