You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2022/02/03 22:32:00 UTC

[jira] [Closed] (GROOVY-10353) StaticTypeCheckingSupport#evaluateExpression can provide lightweight evaluation for simple expressions

     [ https://issues.apache.org/jira/browse/GROOVY-10353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King closed GROOVY-10353.
------------------------------

> 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
>            Priority: Major
>             Fix For: 4.0.0-rc-1
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> {{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)