void (@NotNull Template template, @NotNull PsiElement element) { super.setVariables(template, element); if (element instanceof PsiExpression) { PsiType[] types = GuessManager.getInstance(element.getProject()).guessTypeToCast((PsiExpression)element); fill(template, types, element); } else { template.addVariable(TYPE_VAR, null, null, true, false); } MacroCallNode nameMacro = new MacroCallNode(new SuggestVariableNameMacro()); template.addVariable(VAR_NAME, nameMacro, nameMacro, true); }