Update java/ql/src/Violations of Best Practice/Implementation Hiding/VisibleForTestingAbuse.ql

Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com>
This commit is contained in:
Napalys Klicius
2025-08-28 15:01:43 +02:00
committed by GitHub
parent 38f517ecfa
commit d3be456c5c

View File

@@ -16,7 +16,7 @@ import java
/**
* Holds if a `Callable` is within the same type hierarchy as `RefType`
* (including through lambdas, inner classes, and outer classes)
* (including through lambdas, inner classes, and outer classes).
*/
predicate isWithinType(Callable c, RefType t) {
// Either the callable is in the target type, or they share a common enclosing type