extracted generic AnnotationsAnalyzer class