aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2015-12-02 22:03:03 +0100
committerRoel Spilker <r.spilker@gmail.com>2015-12-02 22:03:03 +0100
commit49e9b7f7ddcf9d85405f28f2f4527874028715a9 (patch)
tree08c4f1f7d30ba37f3baaa7e758123d9fd0472092 /src/core/lombok
parent57578f46ec19abd1b28b2a22c65281cf4831af3d (diff)
downloadlombok-49e9b7f7ddcf9d85405f28f2f4527874028715a9.tar.gz
lombok-49e9b7f7ddcf9d85405f28f2f4527874028715a9.tar.bz2
lombok-49e9b7f7ddcf9d85405f28f2f4527874028715a9.zip
rename the old Processor to make room for a bug-chase version.
Diffstat (limited to 'src/core/lombok')
-rw-r--r--src/core/lombok/core/AnnotationProcessor.java6
-rw-r--r--src/core/lombok/javac/apt/LombokProcessor.java (renamed from src/core/lombok/javac/apt/Processor.java)2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/lombok/core/AnnotationProcessor.java b/src/core/lombok/core/AnnotationProcessor.java
index eb44811b..ba5fd4f7 100644
--- a/src/core/lombok/core/AnnotationProcessor.java
+++ b/src/core/lombok/core/AnnotationProcessor.java
@@ -75,9 +75,9 @@ public class AnnotationProcessor extends AbstractProcessor {
try {
ClassLoader classLoader = findAndPatchClassLoader(procEnv);
- processor = (Processor)Class.forName("lombok.javac.apt.Processor", false, classLoader).newInstance();
+ processor = (Processor) Class.forName("lombok.javac.apt.LombokProcessor", false, classLoader).newInstance();
} catch (Exception e) {
- delayedWarnings.add("You found a bug in lombok; lombok.javac.apt.Processor is not available. Lombok will not run during this compilation: " + trace(e));
+ delayedWarnings.add("You found a bug in lombok; lombok.javac.apt.LombokProcessor is not available. Lombok will not run during this compilation: " + trace(e));
return false;
} catch (NoClassDefFoundError e) {
delayedWarnings.add("Can't load javac processor due to (most likely) a class loader problem: " + trace(e));
@@ -86,7 +86,7 @@ public class AnnotationProcessor extends AbstractProcessor {
try {
processor.init(procEnv);
} catch (Exception e) {
- delayedWarnings.add("lombok.javac.apt.Processor could not be initialized. Lombok will not run during this compilation: " + trace(e));
+ delayedWarnings.add("lombok.javac.apt.LombokProcessor could not be initialized. Lombok will not run during this compilation: " + trace(e));
return false;
} catch (NoClassDefFoundError e) {
delayedWarnings.add("Can't initialize javac processor due to (most likely) a class loader problem: " + trace(e));
diff --git a/src/core/lombok/javac/apt/Processor.java b/src/core/lombok/javac/apt/LombokProcessor.java
index 9979a066..128545c7 100644
--- a/src/core/lombok/javac/apt/Processor.java
+++ b/src/core/lombok/javac/apt/LombokProcessor.java
@@ -66,7 +66,7 @@ import com.sun.tools.javac.util.Context;
* running javac; that's the only requirement.
*/
@SupportedAnnotationTypes("*")
-public class Processor extends AbstractProcessor {
+public class LombokProcessor extends AbstractProcessor {
private JavacProcessingEnvironment processingEnv;
private JavacTransformer transformer;