boolean (GenericDomValue value) { if (!isElementInsideManagedFile(value)) { return false; } Converter converter = value.getConverter(); if (converter instanceof MavenDomSoftAwareConverter) { return !((MavenDomSoftAwareConverter)converter).isSoft(value); } return true; }