void () { if (isMakeClassParameter()) { String classParameterName = getClassParameterName(); if (classParameterName == null) { setOKActionEnabled(false); } else { setOKActionEnabled(PsiNameHelper.getInstance(myProject).isIdentifier(classParameterName.trim())); } } else setOKActionEnabled(true); if(myClassParameterNameInputField != null) { myClassParameterNameInputField.setEnabled(isMakeClassParameter()); } if(myParameterPanel != null) { myParameterPanel.setEnabled(myMakeFieldParameters.isSelected()); } }