else if (parentElement instanceof LiveBean) {
Set<LiveBeanRelation> children = new HashSet<LiveBeanRelation>();
LiveBean bean = (LiveBean) parentElement;
Set<LiveBean> dependencies = bean.getDependencies();
for (LiveBean child : dependencies) {
children.add(new LiveBeanRelation(child, true));
}
Set<LiveBean> injectInto = bean.getInjectedInto();
for (LiveBean child : injectInto) {
children.add(new LiveBeanRelation(child));
}
return children.toArray();
}
return null;
}