Issue 519 in moose-technology: Add AnnotationTypeProperty and AnnotationInstanceProperty

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 519 in moose-technology: Add AnnotationTypeProperty and AnnotationInstanceProperty

moose-technology
Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium Component-Famix Milestone-4.3

New issue 519 by [hidden email]: 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 = "")


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 519 in moose-technology: Add AnnotationTypeProperty and AnnotationInstanceProperty

moose-technology
Updates:
        Status: Fixed
        Owner: tudor.girba

Comment #1 on issue 519 by [hidden email]: 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

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev