}
private <E extends Definition> List<Node> makeNodes(String prefix, Class<E> type) throws QuickFixException {
// if (!Config.isProduction()) {
String sep = prefix.equals("markup") ? ":" : ".";
DefinitionService definitionService = Aura.getDefinitionService();
List<Node> ret = Lists.newArrayList();
Map<String, Node> namespaceNodes = Maps.newHashMap();
DefDescriptor<E> matcher = definitionService.getDefDescriptor(String.format("%s://*%s*", prefix, sep), type);
Set<DefDescriptor<E>> descriptors = definitionService.find(matcher);
for (DefDescriptor<E> desc : descriptors) {
String namespace = desc.getNamespace();
Node namespaceNode = namespaceNodes.get(desc.getNamespace());
if (namespaceNode == null) {
namespaceNode = new Node(namespace);