diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-12-22 04:41:56 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2014-01-18 18:55:52 +0100 |
commit | 3797c8320acd903d3a5b6ce5c1ad97917df65f0a (patch) | |
tree | 362790d6c3aa4a50d7df2a53f52afd1ad978dc2f /src/core/lombok/javac/JavacAST.java | |
parent | d680f8c7f48b6a982c2cea0e8758716eee4807bc (diff) | |
download | lombok-3797c8320acd903d3a5b6ce5c1ad97917df65f0a.tar.gz lombok-3797c8320acd903d3a5b6ce5c1ad97917df65f0a.tar.bz2 lombok-3797c8320acd903d3a5b6ce5c1ad97917df65f0a.zip |
[configuration] Reduced the range around which all already flagged errors/warnings are removed (javac/delombok only) when using onMethod / onConstructor / onParam. Useful for adding warnings such as lombok configuration 'flag usages'.
Diffstat (limited to 'src/core/lombok/javac/JavacAST.java')
-rw-r--r-- | src/core/lombok/javac/JavacAST.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/JavacAST.java b/src/core/lombok/javac/JavacAST.java index 5064f852..4e553063 100644 --- a/src/core/lombok/javac/JavacAST.java +++ b/src/core/lombok/javac/JavacAST.java @@ -395,7 +395,7 @@ public class JavacAST extends AST<JavacAST, JavacNode, JCTree> { } } - private void removeFromDeferredDiagnostics(int startPos, int endPos) { + public void removeFromDeferredDiagnostics(int startPos, int endPos) { JCCompilationUnit self = (JCCompilationUnit) top().get(); new CompilerMessageSuppressor(getContext()).removeAllBetween(self.sourcefile, startPos, endPos); } |