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

Method toValueFunction

valdi/src/valdi/android/JavaMethodClassDelegate.cpp:96–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96Valdi::Ref<Valdi::ValueFunction> JavaMethodClassDelegate::toValueFunction(
97 const JavaValue* receiver,
98 const JavaValue& function,
99 const Valdi::ReferenceInfoBuilder& /*referenceInfoBuilder*/,
100 Valdi::ExceptionTracker& exceptionTracker) {
101 SC_ASSERT(receiver != nullptr);
102 return Valdi::makeShared<JavaMethodValueFunction>(
103 _trampoline, *receiver, *reinterpret_cast<AnyJavaMethod*>(function.getPointer()));
104}
105
106} // namespace ValdiAndroid

Callers 1

marshallMethod · 0.45

Calls 1

getPointerMethod · 0.80

Tested by

no test coverage detected