/**
* Returns a Set of the names of properties that will be accessed by the given Generator.
*/
public static Set<String> getAccessedPropertyNames(Class<? extends Generator> generatorClass) {
RunsLocal runsLocal = generatorClass.getAnnotation(RunsLocal.class);
return runsLocal == null ? ALL_PROPERTIES : ImmutableSet.copyOf(runsLocal.requiresProperties());
}