anchor.diff:  
   [source,java]
   ----
  -@AutoComplete(
  -    autoCompleteRepository=Customers.class
  +@DomainObject(
  +    autoCompleteRepository=CustomerRepository.class
   )
  -public class Customer extends AbstractDomainObject {
  +public class Customer {
      ....
   }
   ----
  
positive.code: 
  [source,java]
  ----
  public interface Customers {
      @Programmatic                                // <1>
      List<Customer> autoComplete(String search);  // <2>
      ...
  }
  ----
  <1> do not expose in the UI
  <2> is assumed to be called "autoComplete", and accepts a single string
  
  
  
  
negative.code: 
  [source,java]
  ----
  @DomainObject(
      autoCompleteRepository=Customers.class,
      autoCompleteAction="findByName"
  )
  public class Customer {
     ....
  }
  ----
  
  where in this case `findByName` might be an existing action already defined:
  
  [source,java]
  ----
  @DomainService(natureOfService=VIEW_MENU_ONLY)
  public class Customers {
      @Action(semantics=SemanticsOf.SAFE)
      List<Customer> findByName(@ParameterLayout(named="name") String name);
      ...
  }
  ----
  