private static List < AbstractWarningsParser > getAllParsers ( ) { List < AbstractWarningsParser > parsers = Lists . newArrayList ( ) ; parsers . add ( new MsBuildParser ( Messages . _Warnings_PCLint_ParserName ( ) , Messages . _Warnings_PCLint_LinkName ( ) , Messages . _Warnings_PCLint_TrendName ( ) ) ) ; if ( PluginDescriptor . isPluginInstalled ( "violations" ) ) { ViolationsRegistry . addParsers ( parsers ) ; } Iterable < GroovyParser > parserDescriptions = getDynamicParserDescriptions ( ) ; parsers . addAll ( getDynamicParsers ( parserDescriptions ) ) ; parsers . addAll ( all ( ) ) ; return ImmutableList . copyOf ( parsers ) ; }
Returns all available parsers . Parsers are automatically detected using the extension point mechanism .