migrating to new AnalyzerPlugin hooks