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

Access to Method parameter names at runtime

    XMLWordPrintableJSON

Details

    Description

      Given that JDK8 now supports accessing parameter names at runtime
      <http://openjdk.java.net/jeps/118>, I'd like to incorporate this behaviour
      into the Groovy compiler.

      I'm proposing adding a command line/configuration change to the groovyc
      compiler, to add reflective information to the compiled bytecode (i.e. the
      parameter names).

      I'm not proposing any changes to the current behaviour of method invocation
      (using named parameters).

      Attachments

        Activity

          People

            paulk Paul King
            nickgrealy Nick Grealy
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: