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

Method make

valdi/src/valdi/android/JavaEnumClassDelegate.cpp:61–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61Valdi::Ref<JavaEnumClassDelegate> JavaEnumClassDelegate::make(Valdi::ValueSchemaRegistrySchemaIdentifier identifier,
62 jclass cls,
63 const Valdi::Ref<Valdi::EnumSchema>& enumSchema) {
64 Valdi::InlineContainerAllocator<JavaEnumClassDelegate, IndirectJavaGlobalRef> allocator;
65 return allocator.allocate(enumSchema->getCasesSize(), identifier, cls, enumSchema);
66}
67
68} // namespace ValdiAndroid

Callers

nothing calls this directly

Calls 2

getCasesSizeMethod · 0.80
allocateMethod · 0.45

Tested by

no test coverage detected