ConflictReason (@NotNull String reasonName) { ConflictReason result = ourAllReasons.get(reasonName); if (result == null) { throw new IllegalArgumentException("Unknown conflict reason " + reasonName); } return result; }