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

API does not support providing a custom metaclass for a Class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0-JSR-2
    • groovy-jdk
    • None
    • Mac os X 10.3.4, java 1.4.2

    Description

      This was discussed earlier in the groovy-dev forum. There is no API to register a new MetaClass, nor access the MetaClassRegistry (which is needed to construct a MetaClass). You can register a metaclass on a groovy object, but not on a class.

      Attachments

        Activity

          People

            codevise Dierk König
            johnstump John Stump
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: