show static members of expected type in basic completion

This commit is contained in:
peter.gromov
2010-11-15 19:12:39 +03:00
parent ba7b415786
commit b757bc2b90
8 changed files with 77 additions and 8 deletions
@@ -0,0 +1,10 @@
class Super {
public static final Super FOO = null;
public static final boolean FOX = true;
}
class Intermediate {
Super s = FO<caret>
}
@@ -0,0 +1,12 @@
class Super {
public static final Super FOO = null;
}
class Intermediate {
void foo(Super s, int a) {}
void bar() {
foo(FO<caret>)
}
}
@@ -0,0 +1,12 @@
class Super {
public static final Super FOO = null;
}
class Intermediate {
void foo(Super s, int a) {}
void bar() {
foo(Super.FOO<caret>)
}
}
@@ -0,0 +1,10 @@
class Super {
public static final Super FOO = null;
public static final boolean FOX = true;
}
class Intermediate {
Super s = Super.FOO<caret>
}