#165 generate mapping methods declared in super-classes or implemented interfaces