Why not refactor XXX into ZZZ (which holds everything but XXX->setup) and XXX which inherits from ZZZ and only has distinctive setup? YYY can now inherit from ZZZ as well.
in reply to Re^2: Call Grandparent Method, Skipping Parent
in thread Call Grandparent Method, Skipping Parent
WWW (+setup) WWW (+setup)
+-XXX (+setup) => +-ZZZ
+-YYY +-XXX (+setup)