/guava/android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
ImmutableMap<Class<? extends B>, B> map = mapBuilder.buildOrThrow ( ) ;
return this; } private static <T> T cast(Class<T> type, Object value) { return Primitives.wrap(type).cast(value); } public ImmutableClassToInstanceMap<B> build() { <extra_id_0> if (map.isEmpty()) { return of(); } else { return new ImmutableClassToInstanceMap<>(map); } }