MCPcopy Create free account
hub / github.com/Snapchat/Valdi / JavaObjectStore

Method JavaObjectStore

valdi/src/valdi/android/JavaValueDelegate.cpp:54–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54JavaObjectStore::JavaObjectStore() {
55 auto& cache = JavaCache::get();
56 auto weakMap = cache.getWeakHashMapClass().newObject(cache.getWeakHashMapConstructorMethod());
57 _weakMap = IndirectJavaGlobalRef::make(weakMap.get(), "JavaObjectStoreWeakMap");
58}
59
60JavaObjectStore::~JavaObjectStore() = default;
61

Callers

nothing calls this directly

Calls 3

getMethod · 0.65
getFunction · 0.50
newObjectMethod · 0.45

Tested by

no test coverage detected