jonnybot0 commented on code in PR #1816: URL: https://github.com/apache/groovy/pull/1816#discussion_r1015853496
########## src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingSupport.java: ########## @@ -2181,6 +2182,14 @@ public static boolean missesGenericsTypes(ClassNode cn) { return cnGenerics == null || cnGenerics.length == 0 ? rnGenerics != null : GenericsUtils.hasUnresolvedGenerics(cn); } + /** + * @deprecated Use {@link #evaluateExpression(Expression, CompilerConfiguration, GroovyClassLoader)} instead + */ + @Deprecated + public static Object evaluateExpression(final Expression expr, final CompilerConfiguration config) { Review Comment: I'm not sure this recommendation is one to follow. I don't see other deprecated methods in this class or anywhere else in the codebase using this annotation. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@groovy.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org