DClassElement (DItemElement itemElement) { final Collection<DClassElement> classes = getAllContainingClasses(); for (DClassElement aClass : classes) { if (aClass.containsElement(itemElement)) return aClass; } return null; }