aop - How do i assign a member instance of a class using aspect in aspectj? -
class="lang-java prettyprint-override">public class myclass { private int amemeber; public void mymethod(anotherclass aclass) { amember = aclass.amethod(); } }
class="lang-java prettyprint-override">class anotherclass{ public int amethod(){ homecoming 9; } }
how refactor above 2 classes in aspectj?
aop aspectj
No comments:
Post a Comment