| 117 | auto identity = |
| 118 | toValue(env, |
| 119 | _getCustomModuleIdentityMethod.call(_localResourceResolver.toObject(), toJavaObject(env, module)) |
| 120 | .stealLocalRef()); |
| 121 | if (!identity.isString()) { |
| 122 | return std::nullopt; |
| 123 | } |
| 124 | auto identityString = identity.toStringBox(); |
| 125 | if (!identityString.isEmpty()) { |
| 126 | return Valdi::ModuleContentIdentity{Valdi::ModuleContentIdentity::Kind::DeliveryContainer, |
| 127 | identityString.slowToString()}; |
| 128 | } |
no test coverage detected