ValidationInfo (Object value, int row, int column) { MemberInfoData data = getMemberInfoData(row); if (data == null) return null; return switch (data.problem) { case MemberInfoModel.ERROR -> new ValidationInfo(""); case MemberInfoModel.WARNING -> new ValidationInfo("").asWarning(); default -> null; }; }