diff options
author | Rawi01 <Rawi01@users.noreply.github.com> | 2022-12-11 17:15:58 +0100 |
---|---|---|
committer | Rawi01 <Rawi01@users.noreply.github.com> | 2022-12-11 17:15:58 +0100 |
commit | 4feabb4d1e247f21134657a159727b6f6c9e2c94 (patch) | |
tree | 6ddd3b87c166ae171c583c11db242c43f8f393d8 /test/transform/resource/after-delombok | |
parent | 731bb185077918af8bc1e6a9e6bb538b2d3fbbd8 (diff) | |
download | lombok-4feabb4d1e247f21134657a159727b6f6c9e2c94.tar.gz lombok-4feabb4d1e247f21134657a159727b6f6c9e2c94.tar.bz2 lombok-4feabb4d1e247f21134657a159727b6f6c9e2c94.zip |
[fixes #3310] Ignore non-static/non-public extension methods
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r-- | test/transform/resource/after-delombok/ExtensionMethodNonStatic.java | 12 |
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 |