mirror of
https://github.com/github/codeql.git
synced 2026-04-19 05:54:00 +02:00
Java: Deprecate Field.getSourceDeclaration() and Field.isSourceDeclaration()
Also follows the removal of the sourceid column of fields.
This commit is contained in:
@@ -52,7 +52,7 @@ predicate depends(RefType t, RefType dep) {
|
||||
or
|
||||
// the declaring type of a field accessed in `t`,
|
||||
exists(Field f | f.getAnAccess().getEnclosingCallable().getDeclaringType() = t |
|
||||
usesType(f.getSourceDeclaration().getDeclaringType(), dep)
|
||||
usesType(f.getDeclaringType(), dep)
|
||||
)
|
||||
or
|
||||
// the type of a local variable declared in `t`,
|
||||
|
||||
Reference in New Issue
Block a user