static interface methods completion: forbid on instance members, inheritors (IDEA-107794)

This commit is contained in:
Anna Kozlova
2013-05-30 15:46:54 +04:00
parent fb8144344c
commit 1996dc9571
3 changed files with 69 additions and 5 deletions
@@ -0,0 +1,14 @@
interface Function<T, R> {
public R apply(T t);
static <K> Function<K, K> baz() {
return k -> k;
}
}
interface IFunction extends Function<Integer, Integer> {
static void bar() {}
static void ba() {
ba<caret>
}
}