SAM: skip allowed static methods as they are not supposed to be overridden (IDEA-101403)

This commit is contained in:
anna
2013-02-19 12:52:25 +01:00
parent 5682294b7e
commit 533ca9ace4
3 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
public interface Nat {
interface Nil extends Nat {}
}
interface Inc extends Nat {
Nat dec();
static Inc make(Nat dec) {
return () -> dec;
}
}