if (task.getVerb().equals(Constants.Verb.SUPPLY)) {
if (task.getVerb().equals(Constants.Verb.SUPPLY) && taskUtils.isDirectObjectOfType(task, type_)) {
    public boolean execute(Object o) {      if (o instanceof Disposition) {        Task task = ((Disposition) o).getTask();        if (task.getVerb().equals(Constants.Verb.SUPPLY)) {          return true;        }      }      return false;    }