void (@NotNull JpsProject project, @NotNull Element componentTag) { JpsJavaCompilerConfiguration configuration = JpsJavaExtensionService.getInstance().getCompilerConfiguration(project); List<String> annoNames = new ArrayList<>(); for (Element option : componentTag.getChildren("instrumentedNotNulls")) { for (Element item : option.getChildren("option")) { ContainerUtil.addIfNotNull(annoNames, item.getAttributeValue("value")); } } if (annoNames.isEmpty()) { annoNames.add(NotNull.class.getName()); } configuration.setNotNullAnnotations(annoNames); }