java - Returning a class instance in an (aspect)interface method -


I am implementing the interface with one aspect

  Announce parents: SomePackage.AClass + extends interface below public interface interface () {// bunch of method}  

I need a method that should apply the class / instance interface itself. Use AspectJ to add any method to the interface public object getSelf () and then implement it like this:

  public interfaceBelow.getSelf () {//  

I do not need to do this, for example, not from class and then {this return}}

is interface Bell .getSelf () return null. Then create a around point content around that method can capture the target of the pointing method orientation. Change that instead.


Comments