github / github/codeql

CodeQL should respect Java's @SuppressWarnings("all") annotation

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

Description

**Description of the issue**
Similar to #2076, it'd be nice to respect `@SuppressWarnings(all)` by supressing all lgtm warnings. This is often used by generated code, for example code generated by SBE:

https://github.com/real-logic/simple-binary-encoding/blob/44ca92f152cbfaaaf0b72bc9ee08e2f2c345b303/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaGenerator.java#L1664

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.