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

[jira] [Created] (GROOVY-9928) @ConstExpression - Compile Time Evaluation

Suminda Dharmasena created GROOVY-9928:
------------------------------------------

             Summary: @ConstExpression - Compile Time Evaluation
                 Key: GROOVY-9928
                 URL: https://issues.apache.org/jira/browse/GROOVY-9928
             Project: Groovy
          Issue Type: New Feature
            Reporter: Suminda Dharmasena


Can we have compile time evaluation of functions, assertions, fields, values, control flow, etc. This is similar to what is found in C++. 

 

The annotation can be in both Groovy and Java code. In case it is in a `.java` file Groovy would act as a pre-processor.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)