java7 code for Collection<Class<?>>