title: error Type referred to is not an annotation type:
body: <p>I got the following Aspect</p>
  
  <pre><code>@Around("execution(public * (@DisabledForBlockedAccounts *).*(..))" + " &amp;&amp; @annotation(denyForTeam)")
  public Object translateExceptionsDenySelectedAccount(ProceedingJoinPoint pjp, Deny deny) throws Throwable
  {
      Account account = (Account) pjp.getArgs()[0];
      Account selectedAccount = (Account) pjp.getArgs()[1];
  
      if (ArrayUtils.contains(deny.value(), account.getRole()))
      {
  
          if (account.getType().equals(Type.CHEF) &amp;&amp; !selectedAccount.getType().equals(Type.CHEF))
          {
              throw new IllegalAccessException("");
          }
      }
      return pjp.proceed();
  }
  </code></pre>
  
  <p>and this Annotation:</p>
  
  <pre><code>@Target({TYPE, METHOD, FIELD})
  @Retention(RUNTIME)
  public @interface DenyForTeam
  {
  
  Role[] value();
  
  }
  </code></pre>
  
  <p>I get the error:error Type referred to is not an annotation type: denyForTeam</p>
  
  <p>Why is DenyForTeam no Annotation? It is marked with @interface</p>