[Feature Request] support add constraint on typeVariable while perform virtual dispatch in java query
Aperta
enhancement
Java
- Lingua principale
- CodeQL
- Stelle
- 10.1k
- Fork
- 2.1k
- Merge medio
- 2g 15h
- PR unite (30g)
- 141
Descrizione
Is it possible to add class type constraint on TypeVariable while perform virtual dispatch in java query?
Take this sinppet for example:
```java
E data = (E) in.readObject();
data.equals(....);
```
It seems `data` can be any class and have data flow tracked into `equals` method as long as the class has one even if the class is unserializable.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.