aboutsummaryrefslogtreecommitdiff
path: root/src/lombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-06-15 20:31:25 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-06-15 20:31:25 +0200
commit293a4bfaf056d11256980fb55a914d47fbbcd36c (patch)
tree6da8462ac6e052e54191accdeae47d483441533b /src/lombok
parent842cefb75c735d333f3c55bcedf690f3c2f0eb18 (diff)
downloadlombok-293a4bfaf056d11256980fb55a914d47fbbcd36c.tar.gz
lombok-293a4bfaf056d11256980fb55a914d47fbbcd36c.tar.bz2
lombok-293a4bfaf056d11256980fb55a914d47fbbcd36c.zip
Renamed lombok.transformations lombok.core as the purpose of this package is to contain stuff that is useful for any lombok implementation (be it e.g. javac via apt or eclipse via agent), but not annotations and other classes that are for 'end users'.
Diffstat (limited to 'src/lombok')
-rw-r--r--src/lombok/apt/HandleANY_ecj.java1
-rw-r--r--src/lombok/apt/PKG.java2
-rw-r--r--src/lombok/apt/Processor.java1
-rw-r--r--src/lombok/core/TransformationsUtil.java (renamed from src/lombok/transformations/TransformationsUtil.java)2
-rw-r--r--src/lombok/core/TypeLibrary.java (renamed from src/lombok/transformations/TypeLibrary.java)2
-rw-r--r--src/lombok/eclipse/HandlerLibrary.java2
-rw-r--r--src/lombok/eclipse/TypeResolver.java3
-rw-r--r--src/lombok/eclipse/handlers/HandleGetter_ecj.java4
8 files changed, 7 insertions, 10 deletions
diff --git a/src/lombok/apt/HandleANY_ecj.java b/src/lombok/apt/HandleANY_ecj.java
index e5a1792a..587444d9 100644
--- a/src/lombok/apt/HandleANY_ecj.java
+++ b/src/lombok/apt/HandleANY_ecj.java
@@ -3,7 +3,6 @@ package lombok.apt;
import java.lang.annotation.Annotation;
import javax.lang.model.element.Element;
-
import javax.tools.Diagnostic;
public class HandleANY_ecj extends HandlerForCompiler<Annotation> {
diff --git a/src/lombok/apt/PKG.java b/src/lombok/apt/PKG.java
index cf04efaf..2808e31e 100644
--- a/src/lombok/apt/PKG.java
+++ b/src/lombok/apt/PKG.java
@@ -8,7 +8,7 @@ import javax.lang.model.element.Element;
import javax.lang.model.type.TypeKind;
import lombok.Lombok;
-import lombok.transformations.TransformationsUtil;
+import lombok.core.TransformationsUtil;
class PKG {
diff --git a/src/lombok/apt/Processor.java b/src/lombok/apt/Processor.java
index 5cae88a0..d63ec006 100644
--- a/src/lombok/apt/Processor.java
+++ b/src/lombok/apt/Processor.java
@@ -7,7 +7,6 @@ import javax.annotation.processing.AbstractProcessor;
import javax.annotation.processing.RoundEnvironment;
import javax.annotation.processing.SupportedAnnotationTypes;
import javax.annotation.processing.SupportedSourceVersion;
-
import javax.lang.model.SourceVersion;
import javax.lang.model.element.Element;
import javax.lang.model.element.TypeElement;
diff --git a/src/lombok/transformations/TransformationsUtil.java b/src/lombok/core/TransformationsUtil.java
index 7869025a..0ce99d9f 100644
--- a/src/lombok/transformations/TransformationsUtil.java
+++ b/src/lombok/core/TransformationsUtil.java
@@ -1,4 +1,4 @@
-package lombok.transformations;
+package lombok.core;
public class TransformationsUtil {
private TransformationsUtil() {}
diff --git a/src/lombok/transformations/TypeLibrary.java b/src/lombok/core/TypeLibrary.java
index 9b5c8e57..c6789d7e 100644
--- a/src/lombok/transformations/TypeLibrary.java
+++ b/src/lombok/core/TypeLibrary.java
@@ -1,4 +1,4 @@
-package lombok.transformations;
+package lombok.core;
import java.util.Collection;
import java.util.Collections;
diff --git a/src/lombok/eclipse/HandlerLibrary.java b/src/lombok/eclipse/HandlerLibrary.java
index 3398d22b..70c7b267 100644
--- a/src/lombok/eclipse/HandlerLibrary.java
+++ b/src/lombok/eclipse/HandlerLibrary.java
@@ -13,8 +13,8 @@ import java.util.Map;
import java.util.ServiceConfigurationError;
import java.util.ServiceLoader;
+import lombok.core.TypeLibrary;
import lombok.eclipse.EclipseAST.Node;
-import lombok.transformations.TypeLibrary;
import org.eclipse.jdt.internal.compiler.ast.ArrayInitializer;
import org.eclipse.jdt.internal.compiler.ast.ClassLiteralAccess;
diff --git a/src/lombok/eclipse/TypeResolver.java b/src/lombok/eclipse/TypeResolver.java
index 3b92199c..41618513 100644
--- a/src/lombok/eclipse/TypeResolver.java
+++ b/src/lombok/eclipse/TypeResolver.java
@@ -5,9 +5,8 @@ import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
-import lombok.eclipse.EclipseAST;
+import lombok.core.TypeLibrary;
import lombok.eclipse.EclipseAST.Node;
-import lombok.transformations.TypeLibrary;
import org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration;
import org.eclipse.jdt.internal.compiler.ast.ImportReference;
diff --git a/src/lombok/eclipse/handlers/HandleGetter_ecj.java b/src/lombok/eclipse/handlers/HandleGetter_ecj.java
index 9ce8d2d9..8d00df9f 100644
--- a/src/lombok/eclipse/handlers/HandleGetter_ecj.java
+++ b/src/lombok/eclipse/handlers/HandleGetter_ecj.java
@@ -4,13 +4,13 @@ import java.lang.reflect.Modifier;
import lombok.AccessLevel;
import lombok.Getter;
+import lombok.core.TransformationsUtil;
import lombok.eclipse.EclipseAnnotationHandler;
import lombok.eclipse.EclipseAST.Node;
-import lombok.transformations.TransformationsUtil;
+import org.eclipse.jdt.internal.compiler.ast.ASTNode;
import org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration;
import org.eclipse.jdt.internal.compiler.ast.Annotation;
-import org.eclipse.jdt.internal.compiler.ast.ASTNode;
import org.eclipse.jdt.internal.compiler.ast.Expression;
import org.eclipse.jdt.internal.compiler.ast.FieldDeclaration;
import org.eclipse.jdt.internal.compiler.ast.MethodDeclaration;