spring-framework / org.springframework.aop.target / EmptyTargetSource / forClass

forClass

open static fun forClass(@Nullable targetClass: Class<*>): EmptyTargetSource

Return an EmptyTargetSource for the given target Class.

Parameters

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.

Parameters

targetClass - the target Class (may be null)

isStatic - whether the TargetSource should be marked as static

See Also
#getTargetClass()