mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 02:17:12 +00:00
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
This commit is contained in:
1 parent
8fbcf8ffe4
commit
cf2ce698dc
1 file changed
+3
@@ -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));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user