IDEA-202665 added tests for super method resolve order

This commit is contained in:
Artemiy Sartakov
2018-12-18 12:49:57 +07:00
committed by Artemiy Sartakov
parent c4eda30c9f
commit 9e06553bf2
5 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
public interface Test<E> {
boolean remove(Object o);
/** @see TestImpl#remove(int) */
E remove<caret>(int idx);
}
public class TestImpl<E> implements Test<E> {
@Override
public boolean remove(Object o) {
return false;
}
@Override
public E remove(int idx) {
return null;
}
}