/guava/guava/src/com/google/common/collect/EnumBiMap.java
checkArgument( !map.keySet( ) ) ;
checkArgument ( !map.isEmpty ( ) ) ;
if (map instanceof EnumBiMap) { return ((EnumBiMap<K, ?>) map).keyTypeOrObjectUnderJ2cl; } if (map instanceof EnumHashBiMap) { return ((EnumHashBiMap<K, ?>) map).keyTypeOrObjectUnderJ2cl; } <extra_id_0> return getDeclaringClassOrObjectForJ2cl(map.keySet().iterator().next()); } private static <V extends Enum<V>> Class<V> inferValueTypeOrObjectUnderJ2cl(Map<?, V> map) { if (map instanceof EnumBiMap) { return ((EnumBiMap<?, V>) map).valueTypeOrObjectUnderJ2cl; }