boolean (@NotNull JavaCodeStyleManager csManager, @NotNull PsiType parameterType, @NotNull String paramName) { if (Arrays.asList(csManager.suggestVariableName(VariableKind.PARAMETER, null, null, parameterType).names).contains(paramName)) { return true; } final String typeName = JavaCodeStyleManagerImpl.getTypeName(parameterType); return typeName != null && NameUtil.getSuggestionsByName(typeName, "", "", false, false, parameterType instanceof PsiArrayType).contains(paramName); }