mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 04:15:06 +00:00
1 parent
e8fb46179f
commit
93e9bebf0a
11 files changed
+67
-32
No files matched your search
@@ -4,6 +4,8 @@ import lombok.experimental.ExtensionMethod;
|
||||
|
||||
@ExtensionMethod(value = ExtensionMethodInLambda.Extensions.class)
|
||||
public class ExtensionMethodInLambda {
|
||||
private static final Function<String, String> testStatic = s -> s.reverse();
|
||||
|
||||
public void testSimple() {
|
||||
String test = "test";
|
||||
test = test.map(s -> s.reverse());
|
||||
|
||||
Reference in new issue
Block a user