Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Why annotations are not exposed through JoinPoint.StaticPart?

If I grok Java annotations correctly and they are similar to .NET attributes,
then any state captured by annotations is part of the metadata and thus it
should be available during the compilation.

If so, then it should be available in JoinPoint.StaticPart, but it is
neither there nor is it in JoinPoint. Why? Does it mean that accessing
annotations through the reflection is so cheap that it is OK to do so in
aspect advices?

Thanks.

--
View this message in context: http://aspectj.2085585.n4.nabble.com/Why-annotations-are-not-exposed-through-JoinPoint-StaticPart-tp4196637p4196637.html
Sent from the AspectJ - users mailing list archive at Nabble.com.


Back to the top