github / github/codeql

Java: [Feature Request] Include `throws` clause exceptions in AST

Open
#7,311 1 comment 0 reactions 0 assignees View on GitHub
Java question
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

**Description of the issue**
CodeQL models exception types listed in the `throws` clause of a callable as CodeQL class `Exception`, which also has a source location.
However, currently the AST does not include them. It would be useful if they were included.

Note that implementing this might require workarounds for #5464 and #7309.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.