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

Add setAccessibility(true) equivalent to BeanShell

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: groovy-runtime
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: