final GrMethod m = (GrMethod)e;
return builder
.element(m.getNameIdentifierGroovy())
.elements(m.getParameters())
.optionally(m.getReturnTypeElementGroovy())
<BUG>.optionallyInPattern(m.getBlock())

.role(m.getNameIdentifierGroovy(), ChildRole.FUNCTION_NAME);</BUG>
}
else if (e instanceof GrTypeDefinitionBody) {

final GrMethod m = (GrMethod)e;
return builder
.element(m.getNameIdentifierGroovy())
.elements(m.getParameters())
.optionally(m.getReturnTypeElementGroovy())
.optionallyInPattern(m.getBlock());
}
else if (e instanceof GrTypeDefinitionBody) {
