[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: AOPConstructorJoinpoint and methodHasSubInstanceMetaData

adrian@jboss.org do-not-reply at jboss.com
Wed Jul 23 11:46:03 EDT 2008


Are you expecting to retrieve metadata from non-public methods

If so then we need to fix AnnotatedElementMetaLoader to let you do that.

Just using getDeclaredMethod() is wrong since it wouldn't be able to
get annotations on methods from a super classes.

It looks like Ales already did this for fields with his findField() call.

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

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



More information about the jboss-dev-forums mailing list