// abstract methods class a { void f(); } abstract class c1 { abstract void f1(); int f2(); } interface ff { abstract void f1(); void f2(); } class x { void f() { RuntimeException(); throw RuntimeException(); } } // ------------------------------------------------------------- class c2 { abstract void f(); } class c3 extends c4 { } abstract class c4 { abstract void iif(); } class c5 extends c6 implements i7 { public void ff(){} } abstract class c6 {} interface i7 { void ff(); } class c7 implements i7 { } class callabstract extends c4 { void iif() { super.iif(); } } abstract class c8 { public abstract boolean equals(Object other); } final class c9 extends c8 { } //------- if only Bottom were in other package, it should have been abstract -------------------------- abstract class AbstractTest { abstract String getName(); abstract static class Middle extends AbstractTest { } static class Bottom extends Middle { String getName() { return null; } } } /////////// abstract class cc1 { abstract void f(int i); } abstract class cc2 extends cc1 { abstract protected void f(int i); } class cc3 extends cc2 { public void f(int i) {} } /////////////// interface MyComparator { int compare(Object t, Object t1); boolean equals(java.lang.Object object); } class MyComparatorImpl implements MyComparator { public int compare(Object o, Object o1) { new MyComparator() { public int compare(Object o, Object o1) { return 0; } }; return 0; } } //////////////// IDEADEV-6050 interface Comparable {} interface PublicCloneable extends Cloneable { Object clone() throws CloneNotSupportedException; } interface PublicCloneableExtension extends Comparable, PublicCloneable { }