| 5 | import java.lang.reflect.Method; |
| 6 | |
| 7 | public class AfterLog implements AfterReturningAdvice { |
| 8 | |
| 9 | //returnVaule: 返回值 |
| 10 | public void afterReturning(Object returnValue, Method method, Object[] args, Object target) throws Throwable { |
| 11 | System.out.println(method.getName()+returnValue); |
| 12 | } |
| 13 | } |
nothing calls this directly
no outgoing calls
no test coverage detected