From cea08d77998acce659c6ffc712045b9772ad9c65 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 13 Jun 2011 22:07:30 +0200 Subject: 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. --- src/core/lombok/eclipse/handlers/HandlePrintAST.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/core/lombok/eclipse/handlers') 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 { @Override public boolean deferUntilPostDiet() { - return false; + return true; } public void handle(AnnotationValues annotation, Annotation ast, EclipseNode annotationNode) { - if (!annotationNode.isCompleteParse()) return; - PrintStream stream = System.out; String fileName = annotation.getInstance().outfile(); if (fileName.length() > 0) try { -- cgit