private Set<String> componentBoltSubscriptions(Component component) { Set<String> ret = new HashSet<String>(); for (InputDeclaration d : component.declarations) { ret.add(d.getComponent()); } return ret; }