public static void addParsers ( final List < AbstractWarningsParser > parsers ) { parsers . add ( new ViolationsAdapter ( new CodenarcParser ( ) , Messages . _Warnings_Codenarc_ParserName ( ) , Messages . _Warnings_Codenarc_LinkName ( ) , Messages . _Warnings_Codenarc_TrendName ( ) ) ) ; parsers . add ( new ViolationsAdapter ( new CssLintParser ( ) , Messages . _Warnings_CssLint_ParserName ( ) , Messages . _Warnings_CssLint_LinkName ( ) , Messages . _Warnings_CssLint_TrendName ( ) ) ) ; parsers . add ( new ViolationsAdapter ( new GendarmeParser ( ) , Messages . _Warnings_Gendarme_ParserName ( ) , Messages . _Warnings_Gendarme_LinkName ( ) , Messages . _Warnings_Gendarme_TrendName ( ) ) ) ; parsers . add ( new ViolationsAdapter ( new JcReportParser ( ) , Messages . _Warnings_JCReport_ParserName ( ) , Messages . _Warnings_JCReport_LinkName ( ) , Messages . _Warnings_JCReport_TrendName ( ) ) ) ; parsers . add ( new ViolationsAdapter ( new Pep8Parser ( ) , Messages . _Warnings_Pep8_ParserName ( ) , Messages . _Warnings_Pep8_LinkName ( ) , Messages . _Warnings_Pep8_TrendName ( ) ) ) ; }
Appends the parsers of the violations plug - in to the specified list of parsers .