groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject [groovy] branch GROOVY_3_0_X updated: Minor refactoring: move lazy node classes
Date Sun, 22 Dec 2019 07:12:13 GMT
This is an automated email from the ASF dual-hosted git repository.

sunlan 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 5d5585a  Minor refactoring: move lazy node classes
5d5585a is described below

commit 5d5585a9ab6e9fb5ceb91c746e5410baafe87980
Author: Daniel Sun <sunlan@apache.org>
AuthorDate: Sun Dec 22 15:11:10 2019 +0800

    Minor refactoring: move lazy node classes
    
    (cherry picked from commit 6805172263f151b535d3d408637264d1763b0ba9)
---
 .../codehaus/groovy/ast/decompiled/DecompiledClassNode.java  |  3 ---
 .../groovy/ast/{ => decompiled}/LazyConstructorNode.java     | 12 +++++++++++-
 .../codehaus/groovy/ast/{ => decompiled}/LazyFieldNode.java  |  9 ++++++++-
 .../codehaus/groovy/ast/{ => decompiled}/LazyMethodNode.java | 12 +++++++++++-
 4 files changed, 30 insertions(+), 6 deletions(-)

diff --git a/src/main/java/org/codehaus/groovy/ast/decompiled/DecompiledClassNode.java b/src/main/java/org/codehaus/groovy/ast/decompiled/DecompiledClassNode.java
index f6f15e8..1447a2d 100644
--- a/src/main/java/org/codehaus/groovy/ast/decompiled/DecompiledClassNode.java
+++ b/src/main/java/org/codehaus/groovy/ast/decompiled/DecompiledClassNode.java
@@ -24,9 +24,6 @@ import org.codehaus.groovy.ast.ClassNode;
 import org.codehaus.groovy.ast.ConstructorNode;
 import org.codehaus.groovy.ast.FieldNode;
 import org.codehaus.groovy.ast.GenericsType;
-import org.codehaus.groovy.ast.LazyConstructorNode;
-import org.codehaus.groovy.ast.LazyFieldNode;
-import org.codehaus.groovy.ast.LazyMethodNode;
 import org.codehaus.groovy.ast.MethodNode;
 import org.codehaus.groovy.ast.MixinNode;
 import org.codehaus.groovy.classgen.Verifier;
diff --git a/src/main/java/org/codehaus/groovy/ast/LazyConstructorNode.java b/src/main/java/org/codehaus/groovy/ast/decompiled/LazyConstructorNode.java
similarity index 95%
rename from src/main/java/org/codehaus/groovy/ast/LazyConstructorNode.java
rename to src/main/java/org/codehaus/groovy/ast/decompiled/LazyConstructorNode.java
index e1c5cfb..9e3a45e 100644
--- a/src/main/java/org/codehaus/groovy/ast/LazyConstructorNode.java
+++ b/src/main/java/org/codehaus/groovy/ast/decompiled/LazyConstructorNode.java
@@ -16,9 +16,19 @@
  *  specific language governing permissions and limitations
  *  under the License.
  */
-package org.codehaus.groovy.ast;
+package org.codehaus.groovy.ast.decompiled;
 
 import groovy.lang.groovydoc.Groovydoc;
+import org.codehaus.groovy.ast.ASTNode;
+import org.codehaus.groovy.ast.AnnotatedNode;
+import org.codehaus.groovy.ast.AnnotationNode;
+import org.codehaus.groovy.ast.ClassNode;
+import org.codehaus.groovy.ast.ConstructorNode;
+import org.codehaus.groovy.ast.GenericsType;
+import org.codehaus.groovy.ast.GroovyCodeVisitor;
+import org.codehaus.groovy.ast.NodeMetaDataHandler;
+import org.codehaus.groovy.ast.Parameter;
+import org.codehaus.groovy.ast.VariableScope;
 import org.codehaus.groovy.ast.stmt.Statement;
 
 import java.util.List;
diff --git a/src/main/java/org/codehaus/groovy/ast/LazyFieldNode.java b/src/main/java/org/codehaus/groovy/ast/decompiled/LazyFieldNode.java
similarity index 96%
rename from src/main/java/org/codehaus/groovy/ast/LazyFieldNode.java
rename to src/main/java/org/codehaus/groovy/ast/decompiled/LazyFieldNode.java
index 56681c8..825e960 100644
--- a/src/main/java/org/codehaus/groovy/ast/LazyFieldNode.java
+++ b/src/main/java/org/codehaus/groovy/ast/decompiled/LazyFieldNode.java
@@ -16,9 +16,16 @@
  *  specific language governing permissions and limitations
  *  under the License.
  */
-package org.codehaus.groovy.ast;
+package org.codehaus.groovy.ast.decompiled;
 
 import groovy.lang.groovydoc.Groovydoc;
+import org.codehaus.groovy.ast.ASTNode;
+import org.codehaus.groovy.ast.AnnotatedNode;
+import org.codehaus.groovy.ast.AnnotationNode;
+import org.codehaus.groovy.ast.ClassNode;
+import org.codehaus.groovy.ast.FieldNode;
+import org.codehaus.groovy.ast.GroovyCodeVisitor;
+import org.codehaus.groovy.ast.NodeMetaDataHandler;
 import org.codehaus.groovy.ast.expr.Expression;
 
 import java.util.List;
diff --git a/src/main/java/org/codehaus/groovy/ast/LazyMethodNode.java b/src/main/java/org/codehaus/groovy/ast/decompiled/LazyMethodNode.java
similarity index 95%
rename from src/main/java/org/codehaus/groovy/ast/LazyMethodNode.java
rename to src/main/java/org/codehaus/groovy/ast/decompiled/LazyMethodNode.java
index 49649f4..d10a11b 100644
--- a/src/main/java/org/codehaus/groovy/ast/LazyMethodNode.java
+++ b/src/main/java/org/codehaus/groovy/ast/decompiled/LazyMethodNode.java
@@ -16,9 +16,19 @@
  *  specific language governing permissions and limitations
  *  under the License.
  */
-package org.codehaus.groovy.ast;
+package org.codehaus.groovy.ast.decompiled;
 
 import groovy.lang.groovydoc.Groovydoc;
+import org.codehaus.groovy.ast.ASTNode;
+import org.codehaus.groovy.ast.AnnotatedNode;
+import org.codehaus.groovy.ast.AnnotationNode;
+import org.codehaus.groovy.ast.ClassNode;
+import org.codehaus.groovy.ast.GenericsType;
+import org.codehaus.groovy.ast.GroovyCodeVisitor;
+import org.codehaus.groovy.ast.MethodNode;
+import org.codehaus.groovy.ast.NodeMetaDataHandler;
+import org.codehaus.groovy.ast.Parameter;
+import org.codehaus.groovy.ast.VariableScope;
 import org.codehaus.groovy.ast.stmt.Statement;
 
 import java.util.List;


Mime
View raw message