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.
Reference:
A Per-Type Instantiation Mechanism for Generic Aspects (Manabu Toyama, Tomoyuki Aotani and Hidehiko Masuhara), In Proceedings of the 3rd International Workshop on Variablity and Composition (VariComp'12), 2012.
Bibtex Entry:
@inproceedings{toyama2012varicomp,
pdf = {varicomp2012.pdf},
author = {Manabu Toyama and Tomoyuki Aotani and Hidehiko Masuhara},
title = {A Per-Type Instantiation Mechanism for Generic Aspects},
booktitle = {Proceedings of the 3rd International Workshop on Variablity and Composition (VariComp'12)},
pages = {25--30},
year = 2012,
doi = {10.1145/2161996.2162003},
month = mar,
keywords = {AspectJ},
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.}
}