aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-07-27 11:07:16 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-07-27 11:07:16 +0200
commitcf2ce698dcead0389513bff9bf3d697a7444966d (patch)
tree54fc103f98b0f035084b47dad2f46071de920493 /src
parent8fbcf8ffe43a9097b48d130caeaa3caba07063e6 (diff)
downloadlombok-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.java3
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));
+ }
});
}