// If the classes are from the same component, they may reference each other
if (componentOrConnectorName.equals(otherComponentOrConnectorName)) {
return true;
}
ImplementableArchitectureElement comp1 = arch.getComponentOrConnectorByName(componentOrConnectorName);
ImplementableArchitectureElement comp2 = arch.getComponentOrConnectorByName(otherComponentOrConnectorName);
if (comp1 == null || comp2 == null) {
return false;
}