void (@NotNull Project project, @NotNull ProblemDescriptor descriptor) { if (myNotNullName != null) { List<String> notNulls = myManager.getNotNulls(); if (!notNulls.contains(myNotNullName)) { myManager.setNotNulls(ArrayUtil.append(ArrayUtil.toStringArray(notNulls), myNotNullName)); } myManager.setDefaultNotNull(myNotNullName); } else { List<String> nullables = myManager.getNullables(); if (!nullables.contains(myNullableName)) { myManager.setNullables(ArrayUtil.append(ArrayUtil.toStringArray(nullables), myNullableName)); } myManager.setDefaultNullable(myNullableName); } }