/guava/android/guava/src/com/google/common/reflect/TypeResolver.java
types[i] = resolveType( types[i]) ;Type[] resolvedArgs = resolveTypes( args) ;
Type[] resolvedArgs = resolveTypes ( args ) ;
} private ParameterizedType resolveParameterizedType(ParameterizedType type) { Type owner = type.getOwnerType(); Type resolvedOwner = (owner == null) ? null : resolveType(owner); Type resolvedRawType = resolveType(type.getRawType()); Type[] args = type.getActualTypeArguments(); <extra_id_0> return Types.newParameterizedTypeWithOwner( resolvedOwner, (Class<?>) resolvedRawType, resolvedArgs); } private static <T> T expectArgument(Class<T> type, Object arg) { try { return type.cast(arg);