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

Method unmodifiable

src/main/java/pascal/taie/ir/exp/Var.java:323–325  ·  view source on GitHub ↗
(List<T> list)

Source from the content-addressed store, hash-verified

321 }
322
323 private static <T> List<T> unmodifiable(List<T> list) {
324 return list.isEmpty() ? list : Collections.unmodifiableList(list);
325 }
326 }
327}

Callers 5

getLoadFieldsMethod · 0.95
getStoreFieldsMethod · 0.95
getLoadArraysMethod · 0.95
getStoreArraysMethod · 0.95
getInvokesMethod · 0.95

Calls 1

isEmptyMethod · 0.65

Tested by

no test coverage detected