All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.isi.nlp.serialization.jackson.BUECommonOpenModule Maven / Gradle / Ivy

The newest version!
package edu.isi.nlp.serialization.jackson;

import com.fasterxml.jackson.core.Version;
import com.fasterxml.jackson.databind.module.SimpleModule;
import edu.isi.nlp.mixins.PatternMixin;
import java.util.regex.Pattern;
import javax.inject.Inject;

public final class BUECommonOpenModule extends SimpleModule {

  private static final long serialVersionUID = 1L;

  @Inject
  public BUECommonOpenModule() {
    super("BUECommonOpenModule", new Version(2, 1, 0, null, "com.bbn.bue", "common-core-open"));
  }

  @Override
  public void setupModule(final SetupContext context) {
    context.setMixInAnnotations(Pattern.class, PatternMixin.class);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy