MCPcopy Create free account
hub / github.com/grpc/grpc-java / provider

Method provider

api/src/main/java/io/grpc/ServerRegistry.java:120–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118
119 // For emulating ServerProvider.provider()
120 ServerProvider provider() {
121 List<ServerProvider> providers = providers();
122 return providers.isEmpty() ? null : providers.get(0);
123 }
124
125 @VisibleForTesting
126 static List<Class<?>> getHardCodedClasses() {

Callers

nothing calls this directly

Calls 3

providersMethod · 0.95
getMethod · 0.65
isEmptyMethod · 0.45

Tested by

no test coverage detected