Localized (@NotNull String prefix, @NotNull String suffix) { if (prefix.equals(myPrefix) && suffix.equals(mySuffix)) { return this; } return new Localized(myCapitalization, prefix, suffix, myAnnotationName); }