spring creates proxy for wrong classes when using aop class level annotation
问题 When using spring AOP with class level annotations, spring context.getBean seems to always create and return a proxy or interceptor for every class, wether they have the annotation or not. This behavior is only for class level annotation. For method level annotations, or execution pointcuts, if there is no need for interception, getBean returns a POJO. Is this a bug? As designed? Or am i doing something wrong? @Component @Aspect public class AspectA { @Around("@target(myAnnotation)") public