A per-type instantiation mechanism for generic aspects

  • Authors:
  • Manabu Toyama;Tomoyuki Aotani;Hidehiko Masuhara

  • Affiliations:
  • University of Tokyo, Tokyo, Japan;Japan Advanced Institute of Science and Technology, Nomi, Japan;University of Tokyo, Tokyo, Japan

  • Venue:
  • Proceedings of the 3rd international workshop on Variability & Composition
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

We propose a per-type instantiation mechanism for generic aspects. Though AspectJ supports generic aspects, which declare type parameters, we cannot declare aspects that are parametrized over both field types and return types of applied join points without manually concretizing the type parameters. Our mechanism creates an instance of a generic aspect for each type of the applied join points.