A very simple (and, for now, pretty specific) class hierarchy analyzer