aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/handlers
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2011-06-13 22:07:30 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2011-06-13 22:07:30 +0200
commitcea08d77998acce659c6ffc712045b9772ad9c65 (patch)
tree80cad21e63d376509c16566745b498fcb093e887 /src/core/lombok/eclipse/handlers
parent274d5de571f76b04aa140ea9c04dfc23353dd9f6 (diff)
downloadlombok-cea08d77998acce659c6ffc712045b9772ad9c65.tar.gz
lombok-cea08d77998acce659c6ffc712045b9772ad9c65.tar.bz2
lombok-cea08d77998acce659c6ffc712045b9772ad9c65.zip
Fixed PrintAST, and separately SneakyThrows/Synchronized which failed because the 'isFullParse' boolean was erronously set on a full rebuild, forced by HandleDelegate.
HandleDelegate has also been updated to not do so much work if there's no @Delegate in a source file.
Diffstat (limited to 'src/core/lombok/eclipse/handlers')
-rw-r--r--src/core/lombok/eclipse/handlers/HandlePrintAST.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandlePrintAST.java b/src/core/lombok/eclipse/handlers/HandlePrintAST.java
index 24a3f687..6fa7b938 100644
--- a/src/core/lombok/eclipse/handlers/HandlePrintAST.java
+++ b/src/core/lombok/eclipse/handlers/HandlePrintAST.java
@@ -41,12 +41,10 @@ import lombok.eclipse.EclipseNode;
@ProviderFor(EclipseAnnotationHandler.class)
public class HandlePrintAST implements EclipseAnnotationHandler<PrintAST> {
@Override public boolean deferUntilPostDiet() {
- return false;
+ return true;
}
public void handle(AnnotationValues<PrintAST> annotation, Annotation ast, EclipseNode annotationNode) {
- if (!annotationNode.isCompleteParse()) return;
-
PrintStream stream = System.out;
String fileName = annotation.getInstance().outfile();
if (fileName.length() > 0) try {