This can be done by scanning the method for thrown exceptions, but it would be more interesting to add this to the core. The core can analyze the thrown exceptions via static analysis and memorize them, after which a docblock generation action could add the appropriate @throws statements.
This can be done by scanning the method for thrown exceptions, but it would be more interesting to add this to the core. The core can analyze the thrown exceptions via static analysis and memorize them, after which a docblock generation action could add the appropriate
@throws
statements.