code: public void postConstruct() {
          parseGeometry();
  
          Assert.isTrue(this.polygon != null, "Polygon is null. 'area' string is: '" + this.area + "'");
          Assert.isTrue(this.display != null, "'display' is null");
  
          Assert.isTrue(this.style == null || this.display == AoiDisplay.RENDER,
                        "'style' does not make sense unless 'display' == RENDER.  In this case 'display' == " +
                                this.display);
      }
docs: Tests that the area is valid geojson, the style ref is valid or null and the display is non-null.