aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/SetterOnMethodOnParam.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2013-08-12 22:51:13 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2013-08-12 23:13:11 +0200
commit95cf815285ee736d3bc8119773139cb4fe0c1fb4 (patch)
treebf06026c5e29da9886b932aaebb9e6f4735d8d1f /test/transform/resource/before/SetterOnMethodOnParam.java
parentdf69425550d55da3de07f922fced3872432cd9d3 (diff)
downloadlombok-95cf815285ee736d3bc8119773139cb4fe0c1fb4.tar.gz
lombok-95cf815285ee736d3bc8119773139cb4fe0c1fb4.tar.bz2
lombok-95cf815285ee736d3bc8119773139cb4fe0c1fb4.zip
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.
Diffstat (limited to 'test/transform/resource/before/SetterOnMethodOnParam.java')
-rw-r--r--test/transform/resource/before/SetterOnMethodOnParam.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/transform/resource/before/SetterOnMethodOnParam.java b/test/transform/resource/before/SetterOnMethodOnParam.java
index 70f3dc8c..4e042cf4 100644
--- a/test/transform/resource/before/SetterOnMethodOnParam.java
+++ b/test/transform/resource/before/SetterOnMethodOnParam.java
@@ -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 {
}