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

Method getObject

src/main/java/pascal/taie/util/SimpleIndexer.java:88–96  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

86 }
87
88 @Override
89 public E getObject(int index) {
90 try {
91 return index2obj.get(index);
92 } catch (IndexOutOfBoundsException e) {
93 throw new IllegalArgumentException(
94 "index " + index + " was not mapped to any object", e);
95 }
96 }
97
98 @Override
99 public String toString() {

Callers 1

testInitMethod · 0.95

Calls 1

getMethod · 0.65

Tested by 1

testInitMethod · 0.76