Eric Milles created GROOVY-10353:
------------------------------------
Summary: StaticTypeCheckingSupport#evaluateExpression can provide
lightweight evaluation for simple expressions
Key: GROOVY-10353
URL: https://issues.apache.org/jira/browse/GROOVY-10353
Project: Groovy
Issue Type: Improvement
Reporter: Eric Milles
Assignee: Eric Milles
{{StaticTypeCheckingSupport#evaluateExpression}} is used to evaluate annotation
attribute expressions when processing AST transforms or static type checking.
When asked to eval a simple string constant, it could return a value directly.
This could save on cloning a compiler configuration and spinning up class
parse, compile and execute.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)