You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2021/12/14 07:00:15 UTC

[groovy] branch GROOVY_3_0_X updated: GROOVY-10411: Refactor Java8 (was groovy-eclipse patches and updates)

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
     new 73c0590  GROOVY-10411: Refactor Java8 (was groovy-eclipse patches and updates)
73c0590 is described below

commit 73c059077fda3e46d2940bfe24db386b7d8fb43d
Author: Paul King <pa...@asert.com.au>
AuthorDate: Tue Dec 14 17:00:08 2021 +1000

    GROOVY-10411: Refactor Java8 (was groovy-eclipse patches and updates)
---
 src/main/java/org/codehaus/groovy/vmplugin/v5/Java5.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/java/org/codehaus/groovy/vmplugin/v5/Java5.java b/src/main/java/org/codehaus/groovy/vmplugin/v5/Java5.java
index 327b892..e579ff5 100644
--- a/src/main/java/org/codehaus/groovy/vmplugin/v5/Java5.java
+++ b/src/main/java/org/codehaus/groovy/vmplugin/v5/Java5.java
@@ -418,6 +418,7 @@ public class Java5 implements VMPlugin {
         }
     }
 
+    @Deprecated
     protected Parameter[] processParameters(CompileUnit compileUnit, Method m) {
         Type[] types = m.getGenericParameterTypes();
         Parameter[] params = Parameter.EMPTY_ARRAY;
@@ -518,6 +519,7 @@ public class Java5 implements VMPlugin {
         return back.getPlainNodeReference();
     }
 
+    @Deprecated
     protected Parameter makeParameter(CompileUnit cu, Type type, Class cl, Annotation[] annotations, String name) {
         ClassNode cn = makeClassNode(cu, type, cl);
         Parameter parameter = new Parameter(cn, name);