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 23:13:11 +02:00
parent df69425550
commit 95cf815285
9 changed files with 45 additions and 45 deletions
@@ -1,6 +1,6 @@
class GetterOnMethod {
@lombok.Getter(onMethod=@_(@Deprecated)) int i;
@lombok.Getter(onMethod=@_({@java.lang.Deprecated, @Test})) int j, k;
@lombok.Getter(onMethod=@__(@Deprecated)) int i;
@lombok.Getter(onMethod=@__({@java.lang.Deprecated, @Test})) int j, k;
public @interface Test {
}