private ModuleMetadata getFallbackMetadataForNamespace ( String namespace ) { // Assume a provide'd file to be consistent with goog.module rewriting. ModuleMetadata . Builder builder = ModuleMetadata . builder ( ) . moduleType ( ModuleMetadataMap . ModuleType . GOOG_PROVIDE ) . usesClosure ( true ) . isTestOnly ( false ) ; builder . googNamespacesBuilder ( ) . add ( namespace ) ; return builder . build ( ) ; }
Gets some made - up metadata for the given Closure namespace .