[ https://issues.apache.org/jira/browse/GROOVY-10001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher Smith resolved GROOVY-10001. ---------------------------------------- Resolution: Abandoned > Generated getMetaClass should incorporate annotations > ----------------------------------------------------- > > Key: GROOVY-10001 > URL: https://issues.apache.org/jira/browse/GROOVY-10001 > Project: Groovy > Issue Type: Improvement > Affects Versions: 3.0.7 > Reporter: Christopher Smith > Priority: Major > Labels: annotations > > I'm trying to work around [an annoying AWS SDK > bug|https://github.com/aws/aws-sdk-java-v2/issues/2348] by adding this to my > trait: > {code:groovy} > @DynamoDbIgnore > abstract MetaClass getMetaClass() > {code} > 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. -- This message was sent by Atlassian Jira (v8.20.10#820010)