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

Function newJavaIntObject

valdi_core/src/valdi_core/jni/JavaUtils.cpp:395–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393}
394
395djinni::LocalRef<jobject> newJavaIntObject(int32_t value) {
396 auto& cache = JavaCache::get();
397 return cache.getIntegerClass().newObject(cache.getIntegerConstructorMethod(), value);
398}
399
400djinni::LocalRef<jobject> newJavaLongObject(int64_t value) {
401 auto& cache = JavaCache::get();

Callers 2

toJavaObjectFunction · 0.85
newIntObjectMethod · 0.85

Calls 2

getFunction · 0.50
newObjectMethod · 0.45

Tested by

no test coverage detected