SuggestedNameInfo (PsiType defaultType, String propName) { PsiExpression expression = myExpr != null && myExpr.isValid() ? myExpr : null; PsiLocalVariable variable = (PsiLocalVariable)getLocalVariable(); return JavaNameSuggestionUtil.suggestFieldName(defaultType, variable, expression, myStatic, getParentClass()); }