aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lombok/javac/apt/Processor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lombok/javac/apt/Processor.java b/src/lombok/javac/apt/Processor.java
index 012161fd..864ef52c 100644
--- a/src/lombok/javac/apt/Processor.java
+++ b/src/lombok/javac/apt/Processor.java
@@ -31,13 +31,13 @@ public class Processor extends AbstractProcessor {
else {
this.processingEnv = (JavacProcessingEnvironment) processingEnv;
handlers = HandlerLibrary.load(processingEnv.getMessager());
+ trees = Trees.instance(processingEnv);
}
}
@Override public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) {
if ( processingEnv == null ) return false;
- trees = Trees.instance(processingEnv);
for ( TypeElement annotationType : annotations ) {
if ( !handlers.hasHandlerFor(annotationType) ) continue;