replaced double underscore as new standard way of writing the dummy annotation for onX instead of single underscore, which emits warnings on javac8+.

Also made dollars and Xes legal in addition to underscores, in case double underscore disappears later too.
This commit is contained in:
Reinier Zwitserloot
2013-08-12 22:51:13 +02:00
parent df69425550
commit 95cf815285
9 changed files with 45 additions and 45 deletions
@@ -1,6 +1,6 @@
class SetterOnMethodOnParam {
@lombok.Setter(onMethod=@_(@Deprecated)) int i;
@lombok.Setter(onMethod=@_({@java.lang.Deprecated, @Test}), onParam=@_(@Test)) int j, k;
@lombok.Setter(onMethod=@__(@Deprecated)) int i;
@lombok.Setter(onMethod=@__({@java.lang.Deprecated, @Test}), onParam=@__(@Test)) int j, k;
public @interface Test {
}