Fixed: warn only about non return type annotation if method is not inherited.