aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/ExtensionMethodChain.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/ExtensionMethodChain.java')
-rw-r--r--test/transform/resource/after-ecj/ExtensionMethodChain.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/ExtensionMethodChain.java b/test/transform/resource/after-ecj/ExtensionMethodChain.java
new file mode 100644
index 00000000..8eda4bf8
--- /dev/null
+++ b/test/transform/resource/after-ecj/ExtensionMethodChain.java
@@ -0,0 +1,19 @@
+import java.util.Arrays;
+import java.util.List;
+import lombok.experimental.ExtensionMethod;
+@ExtensionMethod(ExtensionMethodChain.Extensions.class) class ExtensionMethodChain {
+ static class Extensions {
+ Extensions() {
+ super();
+ }
+ public static Integer intValue(String s) {
+ return Integer.valueOf(s);
+ }
+ }
+ ExtensionMethodChain() {
+ super();
+ }
+ public void test() {
+ ExtensionMethodChain.Extensions.intValue("1").intValue();
+ }
+} \ No newline at end of file