mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-08 10:20:58 +00:00
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:
@@ -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 {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user