enhanced search of type in method parameters