Pass method to analyzer explicitly (#4144)