code: public final void addTarget(@NotNull final Target target) {
          Contract.requireArgNotNull("target", target);
          if (targets == null) {
              targets = new ArrayList<>();
          }
          targets.add(target);
      }
docs: Adds a target to the list. If the list does not exist it's created.
  
  @param target
  Target to add.