[jboss-user] [JBoss AOP] - Re: Introducing annotations only on classes which don't have

jaikiran do-not-reply at jboss.com
Mon Apr 13 04:11:16 EDT 2009


"kabir.khan at jboss.com" wrote : Try
  | 
  |   | class($instanceof{java.lang.Object}) AND !class(@MyOwnAnnotation)
  |   | 
  | instead.
  | 
That worked. Thanks!

"kabir.khan at jboss.com" wrote : 
  | We don't do any validation of the ElementType, so if this is a big issue for you please add a JIRA issue.
  | 
  | 

Nothing critical, but the behaviour goes against the semantics of the Annotation ElementType. I'll file a feature request for this validation.


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225062#4225062

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225062



More information about the jboss-user mailing list