Class DeprecatedCheckUberspector

  • All Implemented Interfaces:
    ChainableUberspector, Uberspect, RuntimeServicesAware

    public class DeprecatedCheckUberspector
    extends AbstractChainableUberspector
    implements Uberspect
    Chainable Uberspector that checks for deprecated method calls. It does that by checking if the returned method has a Deprecated annotation. Because this is a chainable uberspector, it has to re-get the method using a default introspector, which is not safe; future uberspectors might not be able to return a precise method name, or a method of the original target object. Borrowed from the XWiki project.
    Since:
    2.0
    Version:
    $Id:$
    See Also:
    ChainableUberspector