Community
Participate
Working Groups
Declare annotation now records the fully qualified type of the annotation involved in the program element. It is accessible through getAnnotationType() and the result will be something like 'p.q.r.Foo'. It works for all variants of declare annotation. Not straightforward to implement as attempting to discover the annotation very early (when the model is built) causes us to try and grab it from the Eclipse representation of the method and we don't want to do that as it runs expensive conversion to convert the eclipse anno to an AspectJ anno. The solution was to adjust it so that if we only need the type we don't convert the entire annotation.
fixed