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

please, provide a groovy.lang.GroovyClassLoader.ClassCollector.generatedClass atribute getter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 1.5.7
    • None
    • class generator
    • None
    • doesn't matter

    Description

      I'm writing a Class that extends groovy.lang.GroovyClassLoader, just to make a personalized Loader (that will load classes from database, rather than the filesystem).
      In my subclass I had to override a parseClass() method from GroovyClassloader and I wish to reutilize the pre-existing groovy.lang.GroovyClassLoader.ClassCollector class, to collect my generated class, but there is no getter for the "generatedClass" atribute in this class!

      I know I can do this on my own, but I will have to re-pack it (since I use the groovy-all-xxx.jar) every time I want to upgrade to the latest version!

      Please, you could make a getter for it or at least, turn this protected instead of private in the following versions.
      Will made life easier to extend this class without rewritting a couple of things!

      Attachments

        Activity

          People

            Unassigned Unassigned
            sf.marcius Marcius da Silva da Fonseca
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: