public void addGlobalAnalyzerDef(AnalyzerDef analyzerDef) {
   addAnalyzerDef(analyzerDef, PROGRAMMATIC_ANALYZER_DEFINITION);
 }
 /**
  * Add an analyzer definition which was defined as annotation.
  *
  * @param analyzerDef the analyzer definition annotation
  * @param annotatedElement the annotated element it was defined on
  */
 public void addAnalyzerDef(AnalyzerDef analyzerDef, XAnnotatedElement annotatedElement) {
   if (analyzerDef == null) {
     return;
   }
   addAnalyzerDef(analyzerDef, buildAnnotationDefinitionPoint(annotatedElement));
 }