java.lang.Object
edu.hm.hafner.analysis.IssueParser
edu.hm.hafner.analysis.LookaheadParser
edu.hm.hafner.analysis.parser.OELintAdvParser
- Alle implementierten Schnittstellen:
Serializable
A parser for oelint-adv.
- Siehe auch:
-
Feldübersicht
Von Klasse geerbte Felder edu.hm.hafner.analysis.LookaheadParser
ANT_TASKVon Klasse geerbte Felder edu.hm.hafner.analysis.IssueParser
ADDITIONAL_PROPERTIES, CATEGORY, COLUMN_END, COLUMN_START, DESCRIPTION, FILE_NAME, FINGERPRINT, ID, LINE_END, LINE_RANGE_END, LINE_RANGE_START, LINE_RANGES, LINE_START, MESSAGE, MODULE_NAME, ORIGIN, PACKAGE_NAME, SEVERITY, TYPE -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcreateIssue(Matcher matcher, edu.hm.hafner.util.LookaheadStream lookahead, IssueBuilder builder) Creates a new issue for the specified pattern.Von Klasse geerbte Methoden edu.hm.hafner.analysis.LookaheadParser
isLineInteresting, parse, postProcess, preprocessLineVon Klasse geerbte Methoden edu.hm.hafner.analysis.IssueParser
accepts, equalsIgnoreCase, isXmlFile, parseFile
-
Konstruktordetails
-
OELintAdvParser
public OELintAdvParser()Creates a new instance ofOELintAdvParser.
-
-
Methodendetails
-
createIssue
protected Optional<Issue> createIssue(Matcher matcher, edu.hm.hafner.util.LookaheadStream lookahead, IssueBuilder builder) throws ParsingException Beschreibung aus Klasse kopiert:LookaheadParserCreates 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 returnOptional.empty()to ignore this warning.- Angegeben von:
createIssuein KlasseLookaheadParser- Parameter:
matcher- the regular expression matcherlookahead- the lookahead stream to read additional linesbuilder- 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
-