final Method guavaMethod = Maps.class.getMethod(
method.getName(), method.getParameterTypes());
return guavaMethod.invoke(null, args);
} catch (NoSuchMethodException e) {
Set set = (Set) args[0];
Function function = (Function) args[1];
return CompatibleGuava11.asMap(set, function);
}
}
if (method.getName().equals("navigableSet")) {
ImmutableSortedSet set = (ImmutableSortedSet) args[0];