Ales Justin wrote:
1) How to add this new RequirementDependencyItem (RDI) to existing Module's requirementDependencies? -- package protected
I guess this is all done as part of RDI::resolve, if actually resolved.
And there is no need to add this to initial Module?
Moving WildcardDelegateLoader to same package as Module helps, but is it OK / valid?
if (item.resolve(controller))
{
List<RequirementDependencyItem> items = module.getDependencies(); // should not be null, as this delegate was created from a requirement
items.add(item);
module.addIDependOn(item);