String (final PsiClass thisClass) { PsiManager manager = thisClass.getManager(); PsiType type = JavaPsiFacade.getElementFactory(manager.getProject()).createType(thisClass); final SuggestedNameInfo suggestedNameInfo = JavaCodeStyleManager.getInstance(manager.getProject()) .suggestVariableName(VariableKind.PARAMETER, null, null, type); return suggestedNameInfo.names.length > 0 ? suggestedNameInfo.names[0] : ""; }