@Override public void writeSettings(@NotNull Element node) throws WriteExternalException { super.writeSettings(node); if (onlyReportWhenAnnotated) { node.addContent( new Element("option") .setAttribute("name", "onlyReportWhenAnnotated") .setAttribute("value", String.valueOf(onlyReportWhenAnnotated))); } if (!annotations.hasDefaultValues()) { final Element element = new Element("option").setAttribute("name", "annotations"); final Element valueElement = new Element("value"); annotations.writeExternal(valueElement); node.addContent(element.addContent(valueElement)); } }
@Override public void writeSettings(Element element) throws WriteExternalException { annotationNamesString = formatString(annotationNames); super.writeSettings(element); }
@Override public void writeSettings(@NotNull Element element) throws WriteExternalException { loggerClassName = formatString(loggerFactoryClassNames); loggerFactoryMethodName = formatString(loggerFactoryMethodNames); super.writeSettings(element); }
@Override public void writeSettings(@NotNull Element element) throws WriteExternalException { callCheckString = formatString(classNames, methodNamePatterns); super.writeSettings(element); }