code: @Pure
  	@SuppressWarnings("checkstyle:cyclomaticcomplexity")
  	public static Class<? extends MapElement> fromESRI(ShapeElementType type) {
  		switch (type) {
  		case MULTIPOINT:
  		case MULTIPOINT_M:
  		case MULTIPOINT_Z:
  			return MapMultiPoint.class;
  		case POINT:
  		case POINT_M:
  		case POINT_Z:
  			return MapPoint.class;
  		case POLYGON:
  		case POLYGON_M:
  		case POLYGON_Z:
  			return MapPolygon.class;
  		case POLYLINE:
  		case POLYLINE_M:
  		case POLYLINE_Z:
  			return MapPolyline.class;
  			//$CASES-OMITTED$
  		default:
  		}
  		throw new IllegalArgumentException();
  	}
docs: Replies the type of map element which is corresponding to the given ESRI type.
  
  @param type the type of element.
  @return the type of map element.
  @throws IllegalArgumentException if the given type is not supported by the I/O API.
  @since 4.0