You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2021/11/12 21:00:00 UTC

[jira] [Resolved] (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 ]

Eric Milles resolved GROOVY-10353.
----------------------------------
    Fix Version/s: 4.0.0-beta-3
       Resolution: Fixed

> 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-beta-3
>
>          Time Spent: 0.5h
>  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)