dontAnalyzeMethod() simplified.