Status: New Owner: ---- Labels: Type-Enhancement Priority-Medium Component-Famix Milestone-4.3
New issue 519 by tudor.gi...@gmail.com: Add AnnotationTypeProperty and AnnotationInstanceProperty http://code.google.com/p/moose-technology/issues/detail?id=519
The AnnotationType should hold a collection of AnnotationTypeProperty. For example, below we would have 4 such properties attached to the MyAnno AnnotationType.
public @interface MyAnno { int id(); String synopsis(); String engineer() default "[unassigned]"; String date() default "[unimplemented]"; }
The AnnotationInstance should point to the AnnotationTypeProperty and hold a value. For example, below, the AnnotationInstance would have four AnnotationPropertyInstance, each pointing to the property type and having the value stored as string.
@MyAnno(id = 0, synopsis = "")
Updates: Status: Fixed Owner: tudor.girba
Comment #1 on issue 519 by tudor.gi...@gmail.com: Add AnnotationTypeProperty and AnnotationInstanceProperty http://code.google.com/p/moose-technology/issues/detail?id=519
Name: Famix-Java-TudorGirba.27 Author: TudorGirba Time: 7 February 2011, 1:51:17 pm UUID: f36f296f-9bd2-41a8-aff9-f973da82d179 Ancestors: Famix-Java-TudorGirba.26
added FAMIXAnnotationTypeAttribute and FAMIXAnnotationInstanceAttribute:
http://code.google.com/p/moose-technology/issues/detail?id=519