@Override public void afterFindComponents() { // this will find component dependencies, but the relationship descriptions // will be empty because we can't get that from the code super.afterFindComponents(); for (Component component : getComponentFinder().getContainer().getComponents()) { for (CodeElement codeElement : component.getCode()) { // find the efferent dependencies findUsesComponentAnnotations(component, codeElement.getType()); findUsesSoftwareSystemsAnnotations(component, codeElement.getType()); findUsesContainerAnnotations(component, codeElement.getType()); // and also the afferent dependencies findUsedByPersonAnnotations(component, codeElement.getType()); findUsedBySoftwareSystemAnnotations(component, codeElement.getType()); findUsedByContainerAnnotations(component, codeElement.getType()); } } }