Generate generic signature to collection method stubs

 #KT-6213 Fixed