lib/src/main/java/cn/hikyson/methodcanary/lib/MethodCanaryForSpecial.java
private boolean checkLifecycleOwnerIsSelf(String className, Object page) {
        if (page == null) {
            return false;
        }
        return page.getClass().getName().equals(className.replaceAll("/", "."));
    }
/**
     * check whether event is sent by page self
     * page parent will also send event which should be exclude
     *
     * @param className
     * @param page
     * @return
     */
check whether event is sent by page self
page parent will also send event which should be exclude

@param className
@param page
@return
check whether event is sent by page self page parent will also send event which should be exclude @param className @param page @return
private boolean checkLifecycleOwnerIsSelf(String className, Object page) {
        if (page == null) {
            return false;
        }
        return page.getClass().getName().equals(className.replaceAll("/", "."));
    }
private boolean checkLifecycleOwnerIsSelf ( String className , Object page ) { if ( page == null ) { return false ; } return page . getClass ( ) . getName ( ) . equals ( className . replaceAll ( "/" , "." ) ) ; }
check whether event is sent by page self
 page parent will also send event which should be exclude
check whether event is sent by page self page parent will also send event which should be exclude