Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium Component-Famix Milestone-4.3
New issue 519 by tudor.gi...(a)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 = "")