get all traits of ancestor classes & ancestor traits