| 64 | } |
| 65 | |
| 66 | MethodReturnType 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 | |
| 79 | std::string &MetadataEntry::getDeclaringType() { |
| 80 | if (!declaringType.empty()) return declaringType; |
no test coverage detected