github / github/codeql

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

Offen
#5,646 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Java
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

**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`

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.