Klasse OELintAdvParser

Alle implementierten Schnittstellen:
Serializable

public class OELintAdvParser extends LookaheadParser
A parser for oelint-adv.
Siehe auch:
  • Konstruktordetails

    • OELintAdvParser

      public OELintAdvParser()
      Creates a new instance of OELintAdvParser.
  • Methodendetails

    • createIssue

      protected Optional<Issue> createIssue(Matcher matcher, edu.hm.hafner.util.LookaheadStream lookahead, IssueBuilder builder) throws ParsingException
      Beschreibung aus Klasse kopiert: LookaheadParser
      Creates a new issue for the specified pattern. This method is called for each matching line in the specified file. If a match is a false positive, then return Optional.empty() to ignore this warning.
      Angegeben von:
      createIssue in Klasse LookaheadParser
      Parameter:
      matcher - the regular expression matcher
      lookahead - the lookahead stream to read additional lines
      builder - the issue builder to use
      Gibt zurück:
      a new annotation for the specified pattern
      Löst aus:
      ParsingException - Signals that during parsing a non recoverable error has been occurred