0 Replies Latest reply on Oct 29, 2007 9:30 AM by Robin Ericsson

    Removing annotations

    Robin Ericsson Newbie


      Currently I'm using CtNewMethod.copy to copy a method. However, I want to remove certain annotations if they exist on the copied method.

      I've found the getAnnotations() for getting the annotations, but I've seen no obvious way to remove one.

      Any hints?

      Thanks :)