inter-type declaration に名前をつける?

よくわからんけど、必要最低限のメソッドだけを、特定のクラスに inter-type declaration したいという場合があるきがする。というのも、クラスの interface は必要以上に複雑になってほしくないから。


でも、どうやって特定のメソッドだけを選択して、inter-type declaration できるようにする?


具体的なインスピレーションのネタ元は:

Stefan Hanenberg, Robert Hirschfeld and Rainer Unland.
Morphing Aspects: Incomplete Woven Aspects and Continuous Weaving.
AOSD 2004

DL: http://codehaus.org/~jboner/papers/
AOP Observer の例と

Nathanael Scharli, Stephane Ducasse, Oscar Nierstrasz and Roel Wuyts.
Composable Encapsulation Policies.
Proceedings ECOOP 2004, LNCS, Springer Verlag, June 2004, To appear, Draft version.

DL: 昔 http://www.iam.unibe.ch/~oscar/cgi-bin/omnbib.cgi からドラフトが読めたんだけど、いつのまにか読めなくなってた。
の雰囲気から。