private void getPropertyNamesFromInjectorInterface(Class<?> ginjectorType,
Set<String> propertyNames) {
GinModules ginModulesAnnotation = ginjectorType.getAnnotation(GinModules.class);
if (ginModulesAnnotation != null) {
propertyNames.addAll(Arrays.asList(ginModulesAnnotation.properties()));
}
for (Class<?> ancestor : ginjectorType.getInterfaces()) {
getPropertyNamesFromInjectorInterface(ancestor, propertyNames);
}