public static Collection<? extends Bean> attachInjectedBeansFromMethods(Set<Bean> beansCollection){
        Set<Bean> beansComplete = new HashSet<Bean>();
        for (Bean bean : beansCollection) {
            Set<Bean> injectedBeans = new HashSet<Bean>();
            for (String injectedBeansName : bean.getChildrenName()){
                for (Bean beanFromCollection : beansCollection) {
                    if(injectedBeansName.equals(beanFromCollection.getName())){
                        injectedBeans.add(beanFromCollection);    
                    }    
                }
            }
            bean.setChildren(injectedBeans);
            beansComplete.add(bean);
        }     
        
        return beansComplete;
    }