[boxing-optimization] Minor refactoring: analyze-method added