Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-6673

Reflection API for Traits

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0-beta-1
    • Fix Version/s: 2.3.0-beta-2
    • Component/s: None
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              melix C├ędric Champeau
              Reporter:
              pniederw Peter Niederwieser
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: