diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-27 11:07:16 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-27 11:07:16 +0200 |
commit | cf2ce698dcead0389513bff9bf3d697a7444966d (patch) | |
tree | 54fc103f98b0f035084b47dad2f46071de920493 /src | |
parent | 8fbcf8ffe43a9097b48d130caeaa3caba07063e6 (diff) | |
download | lombok-cf2ce698dcead0389513bff9bf3d697a7444966d.tar.gz lombok-cf2ce698dcead0389513bff9bf3d697a7444966d.tar.bz2 lombok-cf2ce698dcead0389513bff9bf3d697a7444966d.zip |
on javac: Warnings associated with specific values in annotation parameters now 'point at' the right position, instead of at the entire annotation. (it already did so for errors).
Fixes issue #11
Diffstat (limited to 'src')
-rw-r--r-- | src/lombok/javac/Javac.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lombok/javac/Javac.java b/src/lombok/javac/Javac.java index f80cca96..2a3727b6 100644 --- a/src/lombok/javac/Javac.java +++ b/src/lombok/javac/Javac.java @@ -116,6 +116,9 @@ public class Javac { @Override public void setError(String message, int valueIdx) { node.addError(message, positions.get(valueIdx)); } + @Override public void setWarning(String message, int valueIdx) { + node.addWarning(message, positions.get(valueIdx)); + } }); } |