Element (@NotNull String sourceToolName, @NotNull Element sourceElement, @NotNull Element toolElement) { ConstantValueInspection inspection = new ConstantValueInspection(); inspection.DONT_REPORT_TRUE_ASSERT_STATEMENTS = Boolean.parseBoolean(JDOMExternalizerUtil.readField(sourceElement, "DONT_REPORT_TRUE_ASSERT_STATEMENTS", "false")); inspection.IGNORE_ASSERT_STATEMENTS = Boolean.parseBoolean(JDOMExternalizerUtil.readField(sourceElement, "IGNORE_ASSERT_STATEMENTS", "false")); inspection.REPORT_CONSTANT_REFERENCE_VALUES = Boolean.parseBoolean(JDOMExternalizerUtil.readField(sourceElement, "REPORT_CONSTANT_REFERENCE_VALUES", "true")); inspection.writeSettings(toolElement); return toolElement; }