github / github/codeql

Java: Some CodeQL classes don't extend `Top`

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

Description

**Description of the issue**
The [documentation](https://codeql.github.com/codeql-standard-libraries/java/semmle/code/Location.qll/type.Location$Top.html) for `Top` says:
> Top is the root of the QL type hierarchy; it defines some default methods for obtaining locations and a standard `toString()` method.

However, some CodeQL classes don't extend it.
Affected (list might be incomplete):
- `SuppressionScope` (internal, so might not matter)
- `TypeBound`
- `Module`
- `Directive`
- `XMLParent`

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.