How to get list of traits that were mixed in the specified class?

Posted by Jeriho on Stack Overflow See other posts from Stack Overflow or by Jeriho
Published on 2010-05-11T09:28:42Z Indexed on 2010/05/11 9:34 UTC
Read the original article Hit count: 252

Filed under:
|

And more specific example:

abstract trait A
trait B extends A
trait C extends A

How to check what traits that extend trait A (it can be from 0 to many) were mixed in specified class?

© Stack Overflow or respective owner

Related posts about scala

Related posts about traits