static Cl scanConceptForRefs(Concept c) { Set refs = new HashSet; if (c != null) for (O o : values(objectToMap(c))) { if (o cast Concept.Ref) refs.add(o); else if (o cast Concept.RefL) addAll(refs, o.l); } ret refs; }