A per-type instantiation mechanism for generic aspects

Manabu Toyama, Tomoyuki Aotani, Hidehiko Masuhara
2012 Proceedings of the 3rd international workshop on Variability & Composition - VariComp '12  
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 automatically an instance of a generic aspect for each type of the applied join points.
doi:10.1145/2161996.2162003 fatcat:4avfgrqp5rgrfbl3my72cet6du