groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject groovy git commit: Optimize imports for "GROOVY-8490: Extend @Newify to support a class name pattern parameter"(commit e91e736)
Date Sun, 22 Apr 2018 23:53:04 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X 0db2a2eaf -> 934bfc022


Optimize imports for "GROOVY-8490: Extend @Newify to support a class name pattern parameter"(commit
e91e736)

(cherry picked from commit e4df27a)


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/934bfc02
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/934bfc02
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/934bfc02

Branch: refs/heads/GROOVY_2_6_X
Commit: 934bfc02277a35364db521df3144580ccb4a8fa2
Parents: 0db2a2e
Author: sunlan <sunlan@apache.org>
Authored: Mon Apr 23 07:52:32 2018 +0800
Committer: sunlan <sunlan@apache.org>
Committed: Mon Apr 23 07:53:00 2018 +0800

----------------------------------------------------------------------
 .../transform/NewifyASTTransformation.java      | 32 +++++++++++++++++---
 1 file changed, 28 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/934bfc02/src/main/java/org/codehaus/groovy/transform/NewifyASTTransformation.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/codehaus/groovy/transform/NewifyASTTransformation.java b/src/main/java/org/codehaus/groovy/transform/NewifyASTTransformation.java
index aade78c..ae71b14 100644
--- a/src/main/java/org/codehaus/groovy/transform/NewifyASTTransformation.java
+++ b/src/main/java/org/codehaus/groovy/transform/NewifyASTTransformation.java
@@ -18,17 +18,41 @@
  */
 package org.codehaus.groovy.transform;
 
-import groovy.lang.*;
+import groovy.lang.Newify;
+import groovy.lang.Reference;
 import org.codehaus.groovy.GroovyBugError;
-import org.codehaus.groovy.ast.*;
-import org.codehaus.groovy.ast.expr.*;
+import org.codehaus.groovy.ast.ASTNode;
+import org.codehaus.groovy.ast.AnnotatedNode;
+import org.codehaus.groovy.ast.AnnotationNode;
+import org.codehaus.groovy.ast.ClassCodeExpressionTransformer;
+import org.codehaus.groovy.ast.ClassHelper;
+import org.codehaus.groovy.ast.ClassNode;
+import org.codehaus.groovy.ast.FieldNode;
+import org.codehaus.groovy.ast.MethodNode;
+import org.codehaus.groovy.ast.expr.ArgumentListExpression;
+import org.codehaus.groovy.ast.expr.ClassExpression;
+import org.codehaus.groovy.ast.expr.ClosureExpression;
+import org.codehaus.groovy.ast.expr.ConstantExpression;
+import org.codehaus.groovy.ast.expr.ConstructorCallExpression;
+import org.codehaus.groovy.ast.expr.DeclarationExpression;
+import org.codehaus.groovy.ast.expr.Expression;
+import org.codehaus.groovy.ast.expr.ListExpression;
+import org.codehaus.groovy.ast.expr.MethodCallExpression;
+import org.codehaus.groovy.ast.expr.VariableExpression;
 import org.codehaus.groovy.control.CompilePhase;
 import org.codehaus.groovy.control.SourceUnit;
 import org.codehaus.groovy.runtime.DefaultGroovyMethods;
 
 import java.math.BigDecimal;
 import java.math.BigInteger;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
 import java.util.concurrent.ConcurrentHashMap;
 import java.util.regex.Pattern;
 import java.util.regex.PatternSyntaxException;


Mime
View raw message