method sounds strange for me. It should be something like detect warnings.
Also why there is accessor?