Class HeaderCheck

    • Method Detail

      • isMatch

        protected boolean isMatch​(int lineNumber,
                                  String line)
        Checks if a code line matches the required header line.
        Parameters:
        lineNumber - the line number to check against the header
        line - the line contents
        Returns:
        true if and only if the line matches the required header line
      • setIgnoreLines

        public void setIgnoreLines​(int... list)
        Set the lines numbers to ignore in the header check.
        Parameters:
        list - comma separated list of line numbers to ignore in header.