title: AspectJ annotated based pointcuts not being invoked
body: <p>I am attempting to create an android library that checks if internet is available before executing a method that has a custom annotation I have defined. I'm using AspectJ to accomplish this. </p>
  
  <p>My annotation is as follows : </p>
  
  <pre><code>@Target({METHOD}) @Retention(RUNTIME)
  public @interface InternetRequired  {
  
  }
  </code></pre>
  
  <p>Now for my aspect:</p>
  
  <pre><code>@Aspect
  public class CilantroAspect
  {
  
      private static final String POINTCUT_METHOD = "execution(@com.cilantro.service.InternetRequired * *(..))";
      private static final String POINTCUT_METHOD2 ="@annotation(com.cilantro.service.InternetRequired)";
      ;
  
      @Pointcut(POINTCUT_METHOD2)
      public void internetAnnotatedMethod() {
      }
  
      @Around("internetAnnotatedMethod()")
      public void checkInternetConnectivity(ProceedingJoinPoint joinPoint) throws Throwable {
          Log.v("Aspect","advice being triggered");
          if (Cilantro.isConnected()) {
              joinPoint.proceed();
          } else {
              Cilantro.Toast("Internet not available");
          }
      }
  }
  </code></pre>
  
  <p>Snippet of my activity with the annotated method.</p>
  
  <pre><code>    ....
      Cilantro.init(this);
      test();
  }
  
  @InternetRequired
  public void test()
  {
      Toast.makeText(this,"Test method",Toast.LENGTH_LONG).show();
  }
  </code></pre>
  
  <p>When I run my android app the around advice is not being triggered. I tried using POINTCUT_METHOD and POINTCUT_METHOD2. Still no luck.</p>
  
  <p>My android app is configured to use Aspect J so I know that's not the problem because if I make errors within the pointcut definitions it's detected..but just to be sure let me share. </p>
  
  <p>Main build script</p>
  
  <pre><code>buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:1.2.3'
          classpath 'com.uphyca.gradle:gradle-android-aspectj-plugin:0.9.+'
  }
  ....
  </code></pre>
  
  <p>module containing Aspects</p>
  
  <pre><code>apply plugin: 'com.android.library'
  apply plugin: 'android-aspectj' 
  ....
  </code></pre>