void (@NotNull Element element) { final String targetName = getTargetName(); if (targetName == null) { return; } element.setAttribute(FILTER_TARGET_NAME, targetName); element.setAttribute(FILTER_IS_VISIBLE, Boolean.valueOf(isVisible()).toString()); }