MCPcopy Create free account
hub / github.com/LFYSec/MScan / ensureRelevantStmts

Method ensureRelevantStmts

src/main/java/pascal/taie/ir/exp/Var.java:215–219  ·  view source on GitHub ↗

Ensure #relevantStmts points to an instance other than RelevantStmts#EMPTY.

()

Source from the content-addressed store, hash-verified

213 * {@link RelevantStmts#EMPTY}.
214 */
215 private void ensureRelevantStmts() {
216 if (relevantStmts == RelevantStmts.EMPTY) {
217 relevantStmts = new RelevantStmts();
218 }
219 }
220
221 @Serial
222 private void writeObject(ObjectOutputStream s) throws IOException {

Callers 5

addLoadFieldMethod · 0.95
addStoreFieldMethod · 0.95
addLoadArrayMethod · 0.95
addStoreArrayMethod · 0.95
addInvokeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected