mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 17:07:05 +07:00
static interface methods completion: forbid on instance members, inheritors (IDEA-107794)
This commit is contained in:
+14
@@ -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>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user