LightParameterListBuilder () { LightParameterListBuilder parameters = new LightParameterListBuilder(myManager, getLanguage()); if (myKind == EnumMethodKind.ValueOf) { PsiClassType string = PsiType.getJavaLangString(myManager, GlobalSearchScope.allScope(getProject())); LightParameter parameter = new LightParameter("name", string, this, getLanguage(), false); parameters.addParameter(parameter); } return parameters; }