aboutsummaryrefslogtreecommitdiff
path: root/src/testA/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/testA/java')
-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;
}