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

    Removing annotations

    lobbin

      Hi,

      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 :)