MCPcopy Create free account
hub / github.com/NativeScript/android / getRetType

Method getRetType

test-app/runtime/src/main/cpp/MetadataEntry.cpp:66–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66MethodReturnType MetadataEntry::getRetType() {
67 if (retTypeParsed) return retType;
68 auto reader = MetadataNode::getMetadataReader();
69
70 if (type == NodeType::Method && !this->getReturnType().empty()) {
71 retType = MetadataReader::GetReturnType(this->returnType);
72 }
73
74 retTypeParsed = true;
75
76 return retType;
77}
78
79std::string &MetadataEntry::getDeclaringType() {
80 if (!declaringType.empty()) return declaringType;

Callers 1

CallJavaMethodMethod · 0.80

Calls 2

getReturnTypeMethod · 0.65
emptyMethod · 0.45

Tested by

no test coverage detected