code: private void addOptionalProps(XmlSchemaElement xsdElement,
              CobolAnnotations cobolAnnotations, Map < String, Object > props) {
          String dependingOn = cobolAnnotations.getDependingOn();
          if (dependingOn != null) {
              props.put(IS_OPTIONAL_PROP_NAME, true);
              props.put(DEPENDING_ON_PROP_NAME, odoObjectNames.get(dependingOn));
          }
      }
docs: Optional items are declared with a minOccurs of 0 and a maxOccurs of one. Usually, there is a depending on clause.
  
  @param xsdElement the xsd element marked as optional
  @param cobolAnnotations the xsd element COBOL annotations
  @param props the corresponding set of properties