analyzeMethod() refactored.