Class VisitorBasedCheck

  • All Implemented Interfaces:
    Check, TreeVisitor

    public class VisitorBasedCheck
    extends BaseTreeVisitor
    implements Check
    This class should be extended by checks to visit the Trees of the RPG file using a Visitor pattern. Most checks should override one or a few of the "visitXXX" methods.
    • Constructor Detail

      • VisitorBasedCheck

        public VisitorBasedCheck()
    • Method Detail

      • check

        public void check​(CheckContext context)
        Description copied from interface: Check
        This method is called for each check on each RPG file.
        Specified by:
        check in interface Check
        Parameters:
        context - Check context