package org.batfish.specifier;

import java.util.regex.Pattern;

public class NameRegexInterfaceLinkLocationSpecifierFactory
    extends CaseInsensitiveRegexLocationSpecifierFactory {
  public static final String NAME =
      NameRegexInterfaceLinkLocationSpecifierFactory.class.getSimpleName();

  @Override
  public String getName() {
    return NAME;
  }

  @Override
  LocationSpecifier buildLocationSpecifier(Pattern pattern) {
    return new NameRegexInterfaceLinkLocationSpecifier(pattern);
  }
}

@@ -36,33 +36,122 @@
 ort 
-java.util.regex.Pattern;%0A
+com.google.auto.service.AutoService;%0Aimport java.util.regex.Pattern;%0A%0A@AutoService(LocationSpecifierFactory.class)
 %0Apub

add missing @AutoService annotation (#1658)