mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-30 08:22:16 +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 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 {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user