aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/ExtensionMethodNonStatic.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/ExtensionMethodNonStatic.java b/test/transform/resource/after-delombok/ExtensionMethodNonStatic.java
new file mode 100644
index 00000000..c0f71308
--- /dev/null
+++ b/test/transform/resource/after-delombok/ExtensionMethodNonStatic.java
@@ -0,0 +1,12 @@
+class ExtensionMethodNonStatic {
+ public void test() {
+ String s = "test";
+ s.startsWith("");
+ }
+
+ static class Extensions {
+ public boolean startsWith(String s, String prefix) {
+ return s.startsWith(prefix);
+ }
+ }
+} \ No newline at end of file