diff options
author | Philipp Eichhorn <peichhor@web.de> | 2012-07-16 20:58:19 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-07-16 21:05:54 +0200 |
commit | 2502862f896d11b9e386df34f6891918ed443409 (patch) | |
tree | 9ee7b53cfbb529f06ce19b3ee6480298a2432327 /src | |
parent | c09481eb8e1475c9495c6d5a59df7234803b2a95 (diff) | |
download | lombok-2502862f896d11b9e386df34f6891918ed443409.tar.gz lombok-2502862f896d11b9e386df34f6891918ed443409.tar.bz2 lombok-2502862f896d11b9e386df34f6891918ed443409.zip |
Delombok now also runs attrib on more files; this will reveal more errors which is particularly important for tests.
This does mean delombok really does need your entire source/classpath to work right but there's unfortunately no real avoiding this anyway,
given that we're doing more and more with resolution.
Diffstat (limited to 'src')
-rw-r--r-- | src/delombok/lombok/delombok/Delombok.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/delombok/lombok/delombok/Delombok.java b/src/delombok/lombok/delombok/Delombok.java index a639a1f6..3f521274 100644 --- a/src/delombok/lombok/delombok/Delombok.java +++ b/src/delombok/lombok/delombok/Delombok.java @@ -381,6 +381,7 @@ public class Delombok { } JavaCompiler delegate = compiler.processAnnotations(compiler.enterTrees(toJavacList(roots))); + delegate.flow(delegate.attribute(delegate.todo)); for (JCCompilationUnit unit : roots) { DelombokResult result = new DelombokResult(catcher.getComments(unit), unit, force || options.isChanged(unit)); if (verbose) feedback.printf("File: %s [%s]\n", unit.sourcefile.getName(), result.isChanged() ? "delomboked" : "unchanged"); |