Skip to content

Commit

Permalink
Merge pull request #15570 from aschackmull/java/cache-interpretelement
Browse files Browse the repository at this point in the history
Java: Cache interpretElement.
  • Loading branch information
aschackmull authored Feb 27, 2024
2 parents 540c20e + 8fc4fae commit df5e753
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions java/ql/lib/semmle/code/java/dataflow/ExternalFlow.qll
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ private Element interpretElement0(
}

/** Gets the source/sink/summary/neutral element corresponding to the supplied parameters. */
cached
Element interpretElement(
string package, string type, boolean subtypes, string name, string signature, string ext
) {
Expand Down

0 comments on commit df5e753

Please sign in to comment.