From cf2ce698dcead0389513bff9bf3d697a7444966d Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 27 Jul 2009 11:07:16 +0200 Subject: 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 --- src/lombok/javac/Javac.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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)); + } }); } -- cgit