Skip to content

Commit 8fc4fae

Browse files
committed
Java: Cache interpretElement.
1 parent 566351a commit 8fc4fae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/ql/lib/semmle/code/java/dataflow/ExternalFlow.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@ private Element interpretElement0(
430430
}
431431

432432
/** Gets the source/sink/summary/neutral element corresponding to the supplied parameters. */
433+
cached
433434
Element interpretElement(
434435
string package, string type, boolean subtypes, string name, string signature, string ext
435436
) {

0 commit comments

Comments
 (0)