List<DomElementProblemDescriptor> (DomElement domElement, boolean includeXmlProblems, boolean withChildren) { if (!withChildren || domElement == null || !domElement.isValid()) { return getProblems(domElement); } return ContainerUtil.concat(getProblemsMap(domElement).values()); }