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

Generated getMetaClass should incorporate annotations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.7
    • None
    • None

    Description

      I'm trying to work around an annoying AWS SDK bug by adding this to my trait:

      @DynamoDbIgnore
      abstract MetaClass getMetaClass()
      

      I had hoped that this would get applied to the generated method, but in fact it didn't. It would be immensely useful for cases like this to be able to somehow apply annotations to the generated getMetaClass method, either by this hack or perhaps by annotating the class.

      Attachments

        Activity

          People

            Unassigned Unassigned
            chrylis Christopher Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: