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