common_helper/src/main/java/com/xiongyingqi/util/MethodInvoker.java
public void setTargetObject(Object targetObject) {
        this.targetObject = targetObject;
        if (targetObject != null) {
            this.targetClass = targetObject.getClass();
        }
    }
public void setTargetObject(Object targetObject) {
        this.targetObject = targetObject;
        if (targetObject != null) {
            this.targetClass = targetObject.getClass();
        }
    }
public void setTargetObject ( Object targetObject ) { this . targetObject = targetObject ; if ( targetObject != null ) { this . targetClass = targetObject . getClass ( ) ; } }
Set the target object on which to call the target method.
Only necessary when the target method is not static;
else, a target class is sufficient.

@see #setTargetClass
@see #setTargetMethod
Set the target object on which to call the target method . Only necessary when the target method is not static ; else a target class is sufficient .