Community
Participate
Working Groups
3.0 M1 There is currently no API to get information about generic types (methods...) when collecting completion proposal information. Neither ICompletionRequestor nor the new CompletionRequestor contains a way to get that information. My use case: I want to propose a for-loop template over a collection, such as: List<? extends String> myList; [the for-template inserts:] for (String string: myList) { [caret] } When collecting completion information, ICompletionRequestor reports a local variable of type 'java.util.List' which is fine, but I would expect a way to get the parameter type information.
I guess this could go as 'fixed' since CompletionProposal.getSignature contains generics information about local variables.
Fixed in previous milestone build.
Closed