Groovy
  1. Groovy
  2. GROOVY-2439

Annotation @MetaClass to setup MetaClass declarative

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.5.1
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None

      Description

      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
      {
      ...
      }

        Activity

        Jörg Gottschling created issue -
        Hide
        Guillaume Delcroix added a comment -

        Interesting idea to discuss.

        Show
        Guillaume Delcroix added a comment - Interesting idea to discuss.
        Guillaume Delcroix made changes -
        Field Original Value New Value
        Fix Version/s 2.0 [ 13489 ]
        Hide
        Jochen Theodorou added a comment -

        The MOP2 will not contain custom meta classes anymore

        Show
        Jochen Theodorou added a comment - The MOP2 will not contain custom meta classes anymore
        Jochen Theodorou made changes -
        Assignee blackdrag blackdrag [ blackdrag ]
        Resolution Won't Fix [ 2 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12731496 ] Default workflow, editable Closed status [ 12743433 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12969615 ] Default workflow, editable Closed status [ 12977381 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1663d 1h 46m 1 Jochen Theodorou 13/Jul/12 08:35
        Resolved Resolved Closed Closed
        13d 8h 13m 1 Paul King 26/Jul/12 16:49

          People

          • Assignee:
            Jochen Theodorou
            Reporter:
            Jörg Gottschling
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development