better support for java generic type in completion
support generate tmp variable decleration according to method return type