mirror of
https://github.com/github/codeql.git
synced 2026-04-18 21:44:02 +02:00
Add comment noting that a Method or Field might have multiple SourceOrSinkElements
This commit is contained in:
committed by
Owen Mansel-Chan
parent
520acc4b1c
commit
20e8d48869
@@ -149,6 +149,9 @@ module SourceSinkInterpretationInput implements
|
||||
)
|
||||
}
|
||||
|
||||
// Note that due to embedding, which is currently implemented via some Methods
|
||||
// or Fields having multiple qualified names, a given Method or Field is liable
|
||||
// to have more than one SourceOrSinkElement, one for each of the names it claims.
|
||||
private newtype TSourceOrSinkElement =
|
||||
TMethodEntityElement(Method m, string pkg, string type, boolean subtypes) {
|
||||
m.hasQualifiedName(pkg, type, _) and subtypes = [true, false]
|
||||
|
||||
Reference in New Issue
Block a user