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

Method Descriptor

Bcore/src/main/cpp/dex/primitive.h:112–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110 }
111
112 static const char* Descriptor(Type type) {
113 switch (type) {
114 case kPrimBoolean:
115 return "Z";
116 case kPrimByte:
117 return "B";
118 case kPrimChar:
119 return "C";
120 case kPrimShort:
121 return "S";
122 case kPrimInt:
123 return "I";
124 case kPrimFloat:
125 return "F";
126 case kPrimLong:
127 return "J";
128 case kPrimDouble:
129 return "D";
130 case kPrimVoid:
131 return "V";
132 default:
133 LOG(FATAL) << "Primitive char conversion on invalid type " << static_cast<int>(type);
134 return nullptr;
135 }
136 }
137
138 static const char* PrettyDescriptor(Type type);
139

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected