Groovy
  1. Groovy
  2. GROOVY-3172

Add setter for field MethodNode.name

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.6-rc-1
    • Fix Version/s: 1.6-rc-1, 1.5.8, 1.7-beta-1
    • Component/s: Compiler
    • Labels:
      None
    • Flags:
      Patch

      Description

      I propose to add a setter for field MethodNode.name that allow AST transformations to change a method name, which can be useful at times. My current use case is a DSL for which I want to allow method names composed of arbitrary characters (whitespace, question mark, etc.). For this to work, method names will occasionally have to be encoded to avoid a VerifyError later on.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Guillaume Delcroix
            Reporter:
            Peter Niederwieser
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development