title: "adviceDidNotMatch" warning when i try adding a new advice to an aspectJ
body: <p>I am trying to add a new advice to my aspectJ.</p>
  
  <pre><code>public aspect Aspect11 {
  
      pointcut namePC(String s, int i) : call (public String Simple.getName(String, int))&amp;&amp;args(s,i);
  
      pointcut getData(int j) : get(public int Simple.trial)&amp;&amp;args(j);
  
      after(String s, int i) : namePC(s, i) {
          // this is the advice
          System.out.println("Printing..." + s + "   " + i);
          System.out.println(thisJoinPoint.getSignature());
      }
  
      before(int j):getData(j)
      {
          System.out.println(j);
      }
  }
  </code></pre>
  
  <p>In the code above, pointcut namePC() and its advice were already added. This was working as expected.</p>
  
  <p>Following is my Simple.java</p>
  
  <pre><code>public class Simple {
  private String name = "Aman";
  String home;
  int trial;
  public String getName(String s, int i) {
  
      System.out.println("Hi in getName()" + s + "   " + i);
      return name;
  }
  
  public static void main(String args[]) {
      Simple simple = new Simple();
      simple.trial=8;
      System.out.println("AA" + simple.getName("In Simple", 1));
  }
  </code></pre>
  
  <p>}</p>
  
  <p>When i try adding the new point cut and its advice : getData(), i am getting a warning : "advice defined in Aspect11 has not been applied [Xlint:adviceDidNotMatch]"
  Am new to aspectJ and not getting a way to sort this out!!</p>