rename getExpectedCallbackTypes to getExpectedTypes
deduce types of empty map/array literals from function signatures
support variable length argument method
add tests