I just checked, in the test code of VerveineJ (test_src/ad_hoc/ReadClient.java) there is an attribute with two annotations:
    @Override
    @Deprecated
    private String num;

And I can see both AnnotationInstance in Moose (4.4).

(note: the VerveineJTest_AdHoc class leaves the output.mse file after it ran)

Could you provide an example?

nicolas


De: "Junker Matthias" <matthias.junker@dvbern.ch>
À: moose-dev@iam.unibe.ch
Envoyé: Mardi 31 Mai 2011 14:39:14
Objet: [Moose-dev] Multiple Annotations in Java

Hey,

i have a problem with Moose and Java AnnotationInstances. The problem occurs when using inFusion and also VerveineJ. When I have a class with an instance variable with two Annotations:


    @Annotation1()
    @Annotation2()
    private Object foo;


In Moose when I check this Attribute for AttributeInstances in the Moose Panel I only get the second AnnotationInstance (Annotation2).

I can build a small example if needed.

Any idea?

Cheers
Matt

_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev