Closed Jose-Luis closed 5 years ago
When I try to complete on 'funtionMap', the 'get' method of the Map find 'Object' instead of 'Function<Integer, Integer>'
import java.util.HashMap; import java.util.Map; import java.util.function.Function; public class NewClass { private Map<String,Function<Integer, Integer>> functionMap; public void testMethod() { this.functionMap = new HashMap<>(); this.functionMap.get } }
The type of the object completed coincide with the var type
JCdebugEnableLogs
JCdebugGetLogContent
g:JavaComplete_JavaviDebug
1
g:JavaComplete_JavaviLogfileDirectory
As I remember it was limitation of the javaparser. But I definitely should check it again.
Actual behavior (Required!)
When I try to complete on 'funtionMap', the 'get' method of the Map find 'Object' instead of 'Function<Integer, Integer>'
Expected behavior (Required!)
The type of the object completed coincide with the var type
The steps to reproduce actual behavior (Required!)
Environment (Required!)
Q&A
JCdebugEnableLogs
and can put here content ofJCdebugGetLogContent
command, if you need.g:JavaComplete_JavaviDebug
to1
, than setg:JavaComplete_JavaviLogfileDirectory
, and put here server logs, too.Screenshot (Optional)
The output of :redir and :message (Optional)