• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ASPECTJ: modifying methods in another class using a pointcut

 
Carlos Nieto
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been looking for way to modify a method from another class by using an aspect class, but I really don't know how to do that...

Is there a way to intercept the method call and replace what is in the method with something in my advice?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic