English

Techniques Enabling Generator Refactoring

Software Engineering 2014-09-24 v1

Abstract

This paper presents our approach to use refactoring techniques together with code generation. Refactoring is particularly useful if not only the generated classes but also the generator itself can be adapted in an automatic fashion. We have developed a simple demonstration prototype to illustrate this. The demonstration is based on a special technique where the template for the code generation is defined as compilable source code. The directives to ll out this template prototype to the actual classes are embedded in the source as comments.

Keywords

Cite

@article{arxiv.1409.6609,
  title  = {Techniques Enabling Generator Refactoring},
  author = {Holger Krahn and Bernhard Rumpe},
  journal= {arXiv preprint arXiv:1409.6609},
  year   = {2014}
}

Comments

2 pages, 5 figures, Technical Report, TR-CCTC/DI-36 Centro de Ciencias e Tecnologias de Computacao, Departamento de Informatica Universidade do Minho, Braga, Portugal, Juli 2005

R2 v1 2026-06-22T06:03:43.159Z