open static fun forClass(@Nullable targetClass: Class<*>): EmptyTargetSource
Return an EmptyTargetSource for the given target Class.
targetClass - the target Class (may be null)
See Also
#getTargetClass()
open static fun forClass(@Nullable targetClass: Class<*>, isStatic: Boolean): EmptyTargetSource
Return an EmptyTargetSource for the given target Class.
targetClass - the target Class (may be null)
isStatic - whether the TargetSource should be marked as static
See Also
#getTargetClass()