6 Replies Latest reply on May 27, 2008 12:14 PM by Kevin Taylor

    Calling annotated method from non annotated method

    Kevin Taylor Newbie

      If I have a method with an annotation


      @CreateProcess(definition="todo.xml")
      
      public void add() {}



      How can I call this method programmaticaly and force the annotation to be initiated, eg.


      public void addNew() {
      
           add();
      
      }




      Thanks for any help