title: How to determine where two method call hierarchies intersect?
body: <p>Given two completely different method calls, in two completely different classes, in the Java Programming Language and all their potential sub calls.</p>
  <p>The goal would be to find the common intersect between the two call hierarchies.</p>
  <p>It would also help if I knew the right terminology behind this as well but the best I can come up with is method intersection.</p>
  <p>EDIT - Diagram:</p>
  <p><a href="https://i.stack.imgur.com/VgH5M.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VgH5M.png" alt="enter image description here" /></a></p>