code: public void setResourceTypeMap(final Map<ResourceType, List<RuleViolation>> resourceTypeMap) {
  		this.resourceTypeMap = Collections.unmodifiableMap(MapUtils.emptyIfNull(resourceTypeMap));
  	}
docs: Sets the resource type map.
  
  @param resourceTypeMap
  the new resource type map