We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55a4e17 commit 352a34bCopy full SHA for 352a34b
android-aop-annotation/src/main/java/com/flyjingfish/android_aop_annotation/impl/JoinPoint.kt
@@ -47,14 +47,10 @@ internal object JoinPoint {
47
}
48
49
fun setOnInvokeListener(proceedJoinPoint: ProceedJoinPoint, onInvokeListener: OnInvokeListener) {
50
- if (proceedJoinPoint is ProceedJoinPointImpl){
51
- proceedJoinPoint.setOnInvokeListener(onInvokeListener)
52
- }
+ (proceedJoinPoint as ProceedJoinPointImpl).setOnInvokeListener(onInvokeListener)
53
54
55
fun setHasNext(proceedJoinPoint: ProceedJoinPoint,hasNext: Boolean) {
56
57
- proceedJoinPoint.setHasNext(hasNext)
58
+ (proceedJoinPoint as ProceedJoinPointImpl).setHasNext(hasNext)
59
60
0 commit comments