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

Function newJavaLongObject

valdi_core/src/valdi_core/jni/JavaUtils.cpp:400–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398 }
399
400 auto javaFunction = Valdi::castOrNull<ValueFunctionWithJavaFunction>(value);
401 if (javaFunction != nullptr) {
402 // unwrap the underlying Java object
403 return javaFunction->toObject();
404 }
405
406 auto* functionCopy = new Valdi::Value(value);

Callers 2

toJavaObjectFunction · 0.85
newLongObjectMethod · 0.85

Calls 2

getFunction · 0.50
newObjectMethod · 0.45

Tested by

no test coverage detected