aboutsummaryrefslogtreecommitdiffstats
path: root/ajde/testdata/inheritance/A.java
diff options
context:
space:
mode:
Diffstat (limited to 'ajde/testdata/inheritance/A.java')
-rw-r--r--ajde/testdata/inheritance/A.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/ajde/testdata/inheritance/A.java b/ajde/testdata/inheritance/A.java
new file mode 100644
index 000000000..899b409f0
--- /dev/null
+++ b/ajde/testdata/inheritance/A.java
@@ -0,0 +1,22 @@
+
+package inheritance;
+
+public abstract class A {
+
+ public abstract void bar();
+
+ public void foo() { }
+
+ public String toString() {
+ // mumble
+
+ return "";
+ }
+}
+
+class B extends A {
+
+ public void bar() { }
+
+ public void foo() { }
+}