aboutsummaryrefslogtreecommitdiff
path: root/src/testA
diff options
context:
space:
mode:
authorJonas Herzig <me@johni0702.de>2022-05-25 07:35:00 +0200
committerJonas Herzig <me@johni0702.de>2022-05-27 08:46:01 +0200
commit4019ebe20786059fdce5b25c7cf6d746a083eef3 (patch)
treee2aee9d92f7287d735a82f21debb91ad8d8b2fe4 /src/testA
parent3104e9fdb3c2df7528813e03e4a3e08a3e1a8c2a (diff)
downloadRemap-4019ebe20786059fdce5b25c7cf6d746a083eef3.tar.gz
Remap-4019ebe20786059fdce5b25c7cf6d746a083eef3.tar.bz2
Remap-4019ebe20786059fdce5b25c7cf6d746a083eef3.zip
Support matching lambda expressions with @Pattern
Diffstat (limited to 'src/testA')
-rw-r--r--src/testA/java/a/pkg/A.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/testA/java/a/pkg/A.java b/src/testA/java/a/pkg/A.java
index 1a0dcac..be9bc1b 100644
--- a/src/testA/java/a/pkg/A.java
+++ b/src/testA/java/a/pkg/A.java
@@ -1,5 +1,8 @@
package a.pkg;
+import java.util.function.Function;
+import java.util.function.Supplier;
+
public class A extends AParent implements AInterface {
private A a;
private int aField;
@@ -98,6 +101,12 @@ public class A extends AParent implements AInterface {
new A() {};
}
+ public static void supplier(Supplier<String> supplier) {
+ }
+
+ public static void function(Function<String, String> func) {
+ }
+
public class Inner {
private int aField;
}