I'm new with AspectJ and I tried to do this:
public class MyDBDAO {
public boolean update(MyObject myObject) {}
}
And Aspect:
@Aspect
@Component
public class AspectJClass {
@Pointcut("execution(* com.myclass.MyDBDAO.update()) && args(myObject)")
public void update(MyObject myObject) {}
}
Should I only use Absoulute Type? Are there any ways to solve this problem?