-
Type:
Improvement
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.0.0-alpha-4
-
Fix Version/s: None
-
Component/s: Groovy Console
-
Labels:None
-
Epic Link:
Add option named "Code Data Visualization" (in Script menu?) to enhance script's byte-code so that _c.put(name, value) gets called wherever possible without user explicitly coding it (here "name" is the name of the variable/parameter and "value" is its value)
For example: when assigning a variable, when calling a method (parameters), when a single value exists on a line, the value passed to "switch" etc.
So x = 2 becomes x = _c.put('x', 2) //put returns 2
Must come after GROOVY-9023
(Might need to also modify any classes within the code loaded into groovyConsole to make _c available to them since _c is only a binding to the script itself)