String (ParameterInfoImpl paramInfo, @NotNull PsiElement context, ReadWriteAccessDetector.Access access) { final ParameterBean bean = getBean(paramInfo); @NonNls String getter = bean != null ? bean.getGetter() : null; if (getter == null) { if (bean != null && bean.getField() != null) { getter = GenerateMembersUtil.suggestGetterName(bean.getField()); } else if (bean == null && access == ReadWriteAccessDetector.Access.Read && HighlightingFeature.RECORDS.isAvailable(context)) { getter = paramInfo.getName(); } else { getter = GenerateMembersUtil.suggestGetterName(paramInfo.getName(), paramInfo.getTypeWrapper().getType(context), context.getProject()); } } return getter; }