refactoring: move suppressWarnings from class level to method level