class NameFilter extends AbstractFilter {

  @Override
  public String execute(Order order) {<FILL_FUNCTION_BODY>}
}

    var result = super.execute(order);
    var name = order.getName();
    if (name == null || name.isEmpty() || name.matches(".*[^\\w|\\s]+.*")) {
      return result + "Invalid name! ";
    } else {
      return result;
    }
  
<methods>public void <init>() ,public void <init>(com.iluwatar.intercepting.filter.Filter) ,public java.lang.String execute(com.iluwatar.intercepting.filter.Order) ,public com.iluwatar.intercepting.filter.Filter getLast() ,public com.iluwatar.intercepting.filter.Filter getNext() ,public void setNext(com.iluwatar.intercepting.filter.Filter) <variables>private com.iluwatar.intercepting.filter.Filter next