code: public boolean recordEnumParameterType(JSTypeExpression type) {
      if (type != null && !hasAnyTypeRelatedTags()) {
        currentInfo.setEnumParameterType(type);
        populated = true;
        return true;
      } else {
        return false;
      }
    }
docs: Records a parameter type to an enum.
  
  @return {@code true} if the enum's parameter type was recorded and
  {@code false} if it was invalid or already defined