void (final DomElementAnnotationHolderImpl holder, final Class<? extends DomElementsInspection<?>> inspectionClass) { if (isInspectionCompleted(inspectionClass)) return; for (final DomElementProblemDescriptor descriptor : holder) { addProblem(descriptor, inspectionClass); } myAnnotations.addAll(holder.getAnnotations()); myPassedInspections.add(inspectionClass); }