i am creating an aspect class with spring aspectj as follow
@Aspect public class AspectDemo { @Pointcut(\"execution(* abc.execute(..))\") public void
If you are using Spring then you could use the AOPUtils helper class
public Object invoke(MethodInvocation invocation) throws Throwable { Class> targetClass = AopUtils.getTargetClass(invocation.getThis()) }