Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.