One nice thing to do here is `new HashSet<String>(Arrays.asList(ResourceProperties.PROP_DISPLAY_NAME, ...))`.
This way you don't have to create an anonymous class.