1 Reply Latest reply on May 4, 2007 11:55 PM by chiba

    Javassist getMethods() returns protected methods?

    alexandrem

      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