Inference rules for generic code migration of aspect-oriented programs

  • Authors:
  • Fernando Barden Rubbo;Eduardo Kessler Piveta;Daltro José Nunes

  • Affiliations:
  • Instituto de Informática, Universidade Federal do Rio Grande do Sul, Porto Alegre - RS, Brazil;Programa de Pós Graduação em Informática, Universidade Federal de Santa Maria, Santa Maria - RS, Brazil;Instituto de Informática, Universidade Federal do Rio Grande do Sul, Porto Alegre - RS, Brazil

  • Venue:
  • Science of Computer Programming
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Several changes occurred in the AspectJ language to provide support for parametric polymorphism. Such changes aim to improve the source code type safety and to prepare the language to support generic code migration. Current approaches for this kind of migration focus only on object-oriented code. Therefore, they do not consider the use of aspects to encapsulate crosscutting concerns. We propose a collection of type constraint rules for the polymorphic version of AspectJ. These rules are used together with an existing constraint based algorithm to enable the conversion of non-generic code to add actual type parameters in both Java and AspectJ languages.