Class CheckBase

  • All Implemented Interfaces:
    org.revapi.configuration.Configurable, Check

    public abstract class CheckBase
    extends Object
    implements Check
    A basic implementation of the Check interface. This class easies the matching of the visit*() methods and their corresponding visitEnd() by keeping track of the "depth" individual calls (see the recursive nature of the call order).

    This class also contains a couple of utility methods for checking the accessibility of elements, etc.

    Since:
    0.1
    Author:
    Lukas Krejci
    See Also:
    pushActive(JavaElement, JavaElement, Object...), popIfActive()