open fun addAspect(aspectInstance: Any): Unit
Add the supplied aspect instance to the chain. The type of the aspect instance supplied must be a singleton aspect. True singleton lifecycle is not honoured when using this method - the caller is responsible for managing the lifecycle of any aspects added in this way.
aspectInstance - the AspectJ aspect instance
open fun addAspect(aspectClass: Class<*>): Unit
Add an aspect of the supplied type to the end of the advice chain.