File: IBar.java

package info (click to toggle)
clojure 1.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,704 kB
  • sloc: java: 43,177; xml: 599; sh: 68; makefile: 50
file content (20 lines) | stat: -rw-r--r-- 290 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package reflector;

public interface IBar {
    String stuff();

    class Factory {
        public static IBar get() {
            return new SubBar();
        }
    }
}

class Bar {
    public String stuff() {
        return "stuff";
    }
}

class SubBar extends Bar implements IBar {
}