Hmm there is no reduce because I change only "static" by "parent". Is better to keep consistency with other MethodGenerator and keep the function "generateMethod" no ?