@Test @SuppressWarnings("AccessStaticViaInstance") public void shouldGetCorrectReturnType() { final boolean result = maybeWeaver.methodAnnotatedWithRxLogMaybe(proceedingJoinPoint); assertThat(result).isTrue(); }
public static boolean methodAnnotatedWithRxLogMaybe(ProceedingJoinPoint joinPoint) { return ((MethodSignature) joinPoint.getSignature()).getReturnType() == Maybe.class; }
MaybeWeaver { public static boolean methodAnnotatedWithRxLogMaybe(ProceedingJoinPoint joinPoint) { return ((MethodSignature) joinPoint.getSignature()).getReturnType() == Maybe.class; } }
MaybeWeaver { public static boolean methodAnnotatedWithRxLogMaybe(ProceedingJoinPoint joinPoint) { return ((MethodSignature) joinPoint.getSignature()).getReturnType() == Maybe.class; }  }
MaybeWeaver { public static boolean methodAnnotatedWithRxLogMaybe(ProceedingJoinPoint joinPoint) { return ((MethodSignature) joinPoint.getSignature()).getReturnType() == Maybe.class; }  static boolean methodAnnotatedWithRxLogMaybe(ProceedingJoinPoint joinPoint); Object weaveAroundJoinPoint(ProceedingJoinPoint joinPoint, Logger logger); }
MaybeWeaver { public static boolean methodAnnotatedWithRxLogMaybe(ProceedingJoinPoint joinPoint) { return ((MethodSignature) joinPoint.getSignature()).getReturnType() == Maybe.class; }  static boolean methodAnnotatedWithRxLogMaybe(ProceedingJoinPoint joinPoint); Object weaveAroundJoinPoint(ProceedingJoinPoint joinPoint, Logger logger); static final String POINTCUT; static final String ADVICE; }