Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.0-beta-1
-
None
-
None
Description
There needs to be some kind of reflection API for traits, so that programs can reason about traits at runtime. For example, one thing I need to know for Spock is whether a method that, according to Java reflection, is declared in class X, is actually declared in that Groovy class, or inherited from a trait.