In role Metamodel::RoleContainer§

See primary documentation in context for method roles to compose

method roles_to_compose($obj --> List:D)

returns a list of roles added with add_role, which are to be composed at type composition time.