MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / BoxedDescriptor

Method BoxedDescriptor

Bcore/src/main/cpp/dex/primitive.cc:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56const char* Primitive::BoxedDescriptor(Primitive::Type type) {
57 static_assert(COUNT_OF(kBoxedDescriptors) == static_cast<size_t>(Primitive::kPrimLast) + 1,
58 "Missing element");
59 CHECK(Primitive::kPrimNot <= type && type <= Primitive::kPrimVoid) << static_cast<int>(type);
60 return kBoxedDescriptors[type];
61}
62
63std::ostream& operator<<(std::ostream& os, Primitive::Type type) {
64 uint32_t int_type = static_cast<uint32_t>(type);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected