void (@NotNull @Nls String incompatibleBoundsMessage) { if (myErrorMessages == null) { myErrorMessages = new ArrayList<>(); } if (!myErrorMessages.contains(incompatibleBoundsMessage)) { myErrorMessages.add(incompatibleBoundsMessage); } }