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

        Peter Niederwieser created issue -
        Guillaume Delcroix made changes -
        Field Original Value New Value
        Assignee Guillaume Laforge [ guillaume ]
        Guillaume Delcroix made changes -
        Fix Version/s 1.5.8 [ 14630 ]
        Fix Version/s 1.7-beta-1 [ 14014 ]
        Fix Version/s 1.6-rc-1 [ 14009 ]
        Guillaume Delcroix made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Guillaume Delcroix made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Guillaume Delcroix made changes -
        Status Closed [ 6 ] Reopened [ 4 ]
        Resolution Fixed [ 1 ]
        Guillaume Delcroix made changes -
        Resolution Won't Fix [ 2 ]
        Status Reopened [ 4 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12732173 ] Default workflow, editable Closed status [ 12744025 ]
        Mark Thomas made changes -
        Patch Submitted Yes [ 10763 ]
        Flags Patch [ 10430 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12974053 ] Default workflow, editable Closed status [ 12981226 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development