Template template = method.getTemplate(attr);
if (template == null) {
template = createTemplate(graph, vertex, name, method, attr);
Logger.debug(SourceLocation.of(vertex), "template created: %s", method);
} else {
template.reproduceSideEffect(graph, receiver, args, vertex.getBlock());
Logger.debug(SourceLocation.of(vertex), "template reused: %s", method);
}
return template.getReturnVertex();
}
}