infer method type arguments from context in basic completion

This commit is contained in:
peter
2015-08-16 17:55:04 +02:00
parent 89b7687872
commit 046fc164b4
3 changed files with 40 additions and 1 deletions
@@ -0,0 +1,16 @@
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class Foo {
Map<String, Integer> foo() {
return Bar.new<caret>
}
}
class Bar {
static <T, V> HashMap<T, V> newMap() {}
static <E> ArrayList<E> newList() {}
}