My favorites | Sign in
t-2
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 17: コンポジットアノテーションで親に値を渡せるようにする
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  shinpei.ohtani@gmail.com
Closed:  Feb 2008


 
Project Member Reported by shinpei.ohtani@gmail.com, Jan 30, 2008

public @interface Parent {
  String value();
}

public @interface Child {
  @Lookup(Parent.class)
  String parentValue();
}

という感じにするとAnnotationDescに展開した際に
parentValue()の値をParentのメタクラスにも適用するなど.


Feb 12, 2008
Project Member #1 shinpei.ohtani@gmail.com
(No comment was entered for this change.)
Status: Started
Feb 14, 2008
Project Member #2 shinpei.ohtani@gmail.com
問題が大きすぎるので、細かく分解する。
まずは Issue26 .
Feb 14, 2008
Project Member #3 shinpei.ohtani@gmail.com
 Issue26 ではなく、 Issue25 でした。
Feb 18, 2008
Project Member #4 shinpei.ohtani@gmail.com
やり方がまずかったので再実装。
AnnotationDescに手を入れて、@Lookupがある場合だけアノテーションを
こっそり入れ替える。

元のアノテーションはひとまず保持する。
Feb 19, 2008
Project Member #5 shinpei.ohtani@gmail.com
アノテーションの値を書きかえれる機能を追加しました。
Status: Fixed

Powered by Google Project Hosting