mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user