title: Why can not get annotation from beanClass?
body: <pre><code>@Transactional
  @Component
  @EntranceLog
  public class TransferServiceImpl implements TransferService {
  
      xxxx
  
  }
  </code></pre>
  
  <p>I hava a class with <code>Transactional</code> annotation and <code>Component</code> annotation. <code>EntranceLog</code> is my customize annotation to print log by aop.</p>
  
  <pre><code>public class LogProxyCreator extends AbstractAutoProxyCreator implements ApplicationContextAware {
  
      private static final LogInterceptor LOG = new LogInterceptor();
  
      private static Logger log = LoggerFactory.getLogger(LogProxyCreator.class);
  
      @Override
      protected Object[] getAdvicesAndAdvisorsForBean(Class&lt;?&gt; beanClass, String s, TargetSource targetSource) throws BeansException {
          Annotation anno = null;
  
          for (Annotation annotationTemp : beanClass.getAnnotations()) {
              Log temp = annotationTemp.annotationType().getAnnotation(EntranceLog.class);
              if (temp != null) {
                  anno = temp;
                  break;
              }
          }
  
          if (anno == null) {
              return null;
          }
          Object[] additional =  new Object[]{LOG};
  
          log.error(beanClass.getName() + " has register the fc log.");
  
          return additional;
      }
  
      @Override
      public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
          LOG.setContext(applicationContext);
      }
  }
  </code></pre>
  
  <p>When my app is starting, the bean transferServiceImpl start, but <code>beanClass.getAnnotations()</code> can not get any annotation. Why?</p>
  
  <pre><code>@Retention(RetentionPolicy.RUNTIME)
  @Target({ElementType.TYPE})
  @Log(logName = "entrance")
  public @interface EntranceLog {
      @AliasFor(
          annotation = Log.class,
          attribute = "subLogName"
      )
      String logName() default "";
  
      @AliasFor(
          annotation = Log.class,
          attribute = "openInfoLog"
      )
      boolean openInfoLog() default false;
  }
  </code></pre>
  
  <p>This is my annotation.</p>