[jboss-user] [Javassist user questions] - Javassist getMethods() returns protected methods?

alexandrem do-not-reply at jboss.com
Mon Apr 30 20:42:33 EDT 2007


Hi.

I'm using Javassist 3.5 CR1 and I've noticed that the getMethods() of CtClass is returning the protected methods (eg. clone and finalize). 

Shouldn't the returned methods be only the public ones, like in Class ?

Thanks!
Alexandre Mendonça

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

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




More information about the jboss-user mailing list