diff options
Diffstat (limited to 'src/core/lombok/eclipse/EclipseAST.java')
-rw-r--r-- | src/core/lombok/eclipse/EclipseAST.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/lombok/eclipse/EclipseAST.java b/src/core/lombok/eclipse/EclipseAST.java index 7c816c50..91db0baa 100644 --- a/src/core/lombok/eclipse/EclipseAST.java +++ b/src/core/lombok/eclipse/EclipseAST.java @@ -197,16 +197,16 @@ public class EclipseAST extends AST<EclipseAST, EclipseNode, ASTNode> { * with filled in method bodies and such. Also propagates problems and errors, which in diet parse * mode can't be reliably added to the problems/warnings view. */ - public void reparse(boolean forceRebuild) { + public void rebuild(boolean force) { propagateProblems(); - if (completeParse && !forceRebuild) return; + if (completeParse && !force) return; boolean changed = isChanged(); boolean newCompleteParse = isComplete(compilationUnitDeclaration); - if (!newCompleteParse && !forceRebuild) return; + if (!newCompleteParse && !force) return; top().rebuild(); - this.completeParse = true; + this.completeParse = newCompleteParse; if (!changed) clearChanged(); } |