Parses method definition without args
Parse method definition with params