Java: Some expressions have `<any>` as type
Offen
question
- Vorherrschende Sprache
- CodeQL
- Sterne
- 10.1k
- Forks
- 2.1k
- Ø Merge
- 2 T. 15 Std.
- Gemergte PRs (30 T.)
- 141
Beschreibung
### Version
CodeQL CLI 2.11.4
### Description
Some expressions seem to have `` as type which is a CodeQL `Class` without any supertypes. Is that intended?
Example query:
```codeql
/**
* @kind problem
*/
import java
from Expr e
where e.getType().hasName("")
select e, "has as type"
```
Ran against https://github.com/codecentric/spring-boot-admin/commit/85ec2b7f61c60e2435ae645cb2017492ca75c940
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.