summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/refactoring/pushDown/FunctionalInterface.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/java-tests/testData/refactoring/pushDown/FunctionalInterface.java')
-rw-r--r--java/java-tests/testData/refactoring/pushDown/FunctionalInterface.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/java/java-tests/testData/refactoring/pushDown/FunctionalInterface.java b/java/java-tests/testData/refactoring/pushDown/FunctionalInterface.java
new file mode 100644
index 000000000000..331ac896fb53
--- /dev/null
+++ b/java/java-tests/testData/refactoring/pushDown/FunctionalInterface.java
@@ -0,0 +1,10 @@
+@FunctionalInterface
+interface Base {
+ default void foo() {
+ System.out.println("Hi there.");
+ }
+ void ba<caret>r();
+}
+
+class Child implements Base {
+}