String (@NotNull String propertyName, @Nullable PsiType propertyType, @NonNls String existingGetterName) { @NonNls StringBuilder name = new StringBuilder(StringUtil.capitalizeWithJavaBeanConvention(StringUtil.sanitizeJavaIdentifier(propertyName))); if (isBoolean(propertyType)) { if (existingGetterName == null || !existingGetterName.startsWith(GET_PREFIX)) { name.insert(0, IS_PREFIX); } else { name.insert(0, GET_PREFIX); } } else { name.insert(0, GET_PREFIX); } return name.toString(); }