| 91 | } |
| 92 | |
| 93 | int MetadataEntry::getParamCount() { |
| 94 | if (paramCount != -1) return paramCount; |
| 95 | |
| 96 | auto reader = MetadataNode::getMetadataReader(); |
| 97 | |
| 98 | if (type == NodeType::Method) { |
| 99 | auto sigLength = mi.GetSignatureLength(); |
| 100 | if (sigLength > 0) { |
| 101 | paramCount = sigLength - 1; |
| 102 | } else { |
| 103 | paramCount = 0; |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | return paramCount; |
| 108 | } |
| 109 | |
| 110 | bool MetadataEntry::getIsFinal() { |
| 111 | if (isFinalSet) return isFinal; |
no test coverage detected