public class EclipseParser extends RegexpDocumentParser
| Modifier and Type | Field and Description |
|---|---|
static String |
ANT_ECLIPSE_WARNING_PATTERN
Pattern for eclipse warnings.
|
ANT_TASK, FALSE_POSITIVEDEPRECATION, PROPRIETARY_API| Constructor and Description |
|---|
EclipseParser()
Creates a new instance of
EclipseParser. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Path file,
Charset charset)
Returns whether this parser accepts the specified file as valid input.
|
protected Issue |
createIssue(Matcher matcher,
IssueBuilder builder)
Creates a new issue for the specified pattern.
|
parsefindIssuesgetFileName, guessCategory, guessCategoryIfEmpty, parse, parse, parseIntisXmlFile, parsepublic static final String ANT_ECLIPSE_WARNING_PATTERN
public EclipseParser()
EclipseParser.public boolean accepts(Path file, Charset charset)
IssueParseraccepts in class IssueParserfile - the file to parsecharset - the encoding to use when reading filestrue if this parser accepts this file as valid input, or false if the file could not be
parsed by this parserprotected Issue createIssue(Matcher matcher, IssueBuilder builder)
RegexpParserRegexpParser.FALSE_POSITIVE to ignore this
warning.createIssue in class RegexpParsermatcher - the regular expression matcherbuilder - the issue builder to useCopyright © 2018. All rights reserved.