-// @SuppressWarnings("rawtypes")
-// Function modules = graph.adapt(Layer0X.getInstance(graph).Dependencies, Function.class);
-// @SuppressWarnings("unchecked")
-// List<Map<String, Object>> result = (List<Map<String, Object>>) modules.apply(graph, root, "Types:\"" + IndexQueries.escape(componentTypeName) + "\"");
-// if (result.isEmpty()) {
-// justRemove(graph);
-// return;
-// }
-//
-// final Set<Resource> instances = new HashSet<Resource>();
-// for (Map<String, Object> entry : result) {
-// Resource c = (Resource) entry.get(Dependencies.FIELD_RESOURCE);
-// if (c != null && graph.hasStatement(c, L0.InstanceOf, resource)) {
-// instances.add(c);
-// }
-// }
-