[ https://issues.apache.org/jira/browse/GROOVY-2439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King updated GROOVY-2439: ------------------------------ Fix Version/s: (was: 3.0.0-alpha-1) > Annotation @MetaClass to setup MetaClass declarative > ---------------------------------------------------- > > Key: GROOVY-2439 > URL: https://issues.apache.org/jira/browse/GROOVY-2439 > Project: Groovy > Issue Type: New Feature > Affects Versions: 1.5.1 > Reporter: Jörg Gottschling > Assignee: Jochen Theodorou > > An Annotation that tells the compiler what MetaClass to set for this a class. > @MetaClass(ExpandoMetaClass) > public class ExtensibleService extends BaseService > { > ... > } > Perhaps for this case a specialised Annotation would do the Job better: > @Expando(allowChangesAfterInit = true) > public class ExtensibleService extends BaseService > { > ... > } -- This message was sent by Atlassian JIRA (v6.3.15#6346)