code: private void introspectSerializer(EnumSerializer enumSerializer, CustomType type) {
          for (SerializableString value : enumSerializer.getEnumValues().values()) {
              type.addEnumeration(value.getValue());
          }
      }
docs: Introspect serializer for enumerations
  
  @param enumSerializer
  @param type