@Test public void afterReturningIsCalledIfReturnTypeMatches() { assertFalse(afterReturningAdvice.isAfterReturningCalled()); simpleService.returnsString(); assertTrue(afterReturningAdvice.isAfterReturningCalled()); }
boolean isAfterReturningCalled() { return afterReturningCalled; }
AfterReturningAdvice { boolean isAfterReturningCalled() { return afterReturningCalled; } }
AfterReturningAdvice { boolean isAfterReturningCalled() { return afterReturningCalled; }  }
AfterReturningAdvice { boolean isAfterReturningCalled() { return afterReturningCalled; }  void reset(); @AfterReturning(pointcut = "execution(* *(..))", returning = "string") void logResult(String string); }
AfterReturningAdvice { boolean isAfterReturningCalled() { return afterReturningCalled; }  void reset(); @AfterReturning(pointcut = "execution(* *(..))", returning = "string") void logResult(String string);  }