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

Add setAccessibility(true) equivalent to BeanShell

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • None
    • None
    • groovy-runtime
    • None

    Description

      We've moving more and more from BeanShell scripting to Groovy for our jAlbum app. There is one really convenient feature of BeanShell I hope Groovy has, but I can't find it. It's the setAccessibility(true) function call, which allows BeanShell code to refer to private fields and methods. This call is very practical when using BeanShell as a debugging tool. Any equivalent in Groovy? If not, can it be added please?

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            davidekholm David Ekholm
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: