Extracts the tags from the lastTagsLine field before setting it to null.

@return the tags or null if lastTagsLine is null.
438632
private List<String> extractTagsAndResetLastTagsLineField() {
        String tags = lastTagsLine;
        List<String> result = extractTags(tags);
        resetLastTagsLine();
        return result;
    }
62843
public CreateNewNoteIntentBuilder addTags(@Nullable ArrayList<String> tags) {
        ArrayList<String> list = mArgs.getStringArrayList(EvernoteIntent.EXTRA_TAG_NAME_LIST);
        if (list == null) {
            list = tags;

        } else if (tags != null) {
            list.addAll(tags);
        }

        return setTags(list);
    }
839382
public java.util.Map<java.lang.String, java.lang.String> getTagsMap() {
    return internalGetTags().getMap();
  }
238157
public static Tags of(@Nullable Iterable<? extends Tag> tags) {
        if (tags == null || !tags.iterator().hasNext()) {
            return Tags.empty();
        } else if (tags instanceof Tags) {
            return (Tags) tags;
        } else if (tags instanceof Collection) {
            Collection<? extends Tag> tagsCollection = (Collection<? extends Tag>) tags;
            return new Tags(tagsCollection.toArray(new Tag[0]));
        } else {
            return new Tags(StreamSupport.stream(tags.spliterator(), false).toArray(Tag[]::new));
        }
    }
1292384
public static Set<String> getTagSet(String tags) {
		tags = StringUtils.substringBefore(tags, "\n");
		String[] tagArr = tags.split("[\\s,，;；]");
		Set<String> tagSet = new HashSet<String>();
		for (int i = 0; i < tagArr.length; i++) {
			String tag = tagArr[i].trim();
			if (!tag.isEmpty()) {
				tagSet.add(tag);
			}
		}
		return tagSet;
	}
866827
public List<MarcField> getFields(String tag) {
        return marcFields.stream().filter(marcField -> marcField.getTag().equals(tag))
                .collect(Collectors.toList());
    }
928865
public String[] getSources()
	{
		String source = tags != null ? tags.get("source") : null;
		return source != null ? source.split("(\\s)?;(\\s)?") : null;
	}
777438
public String getTagValue(String tagName) {

        Tag[] tags = getTagMap().get(tagName);
        if (tags == null || tags.length == 0) {
            return null;
        }

        return tags[tags.length - 1].getText();
    }
322782
@javax.jdo.annotations.NotPersistent
    @MemberOrder(sequence="2")
    public String getSector() {
        final Tag existingTag = getSectorTag();
        return existingTag != null ? existingTag.getValue() : null;
    }
137402
public List<TagType<TldTaglibType<T>>> getAllTag()
   {
      List<TagType<TldTaglibType<T>>> list = new ArrayList<TagType<TldTaglibType<T>>>();
      List<Node> nodeList = childNode.get("tag");
      for(Node node: nodeList)
      {
         TagType<TldTaglibType<T>>  type = new TagTypeImpl<TldTaglibType<T>>(this, "tag", childNode, node);
         list.add(type);
      }
      return list;
   }
71987
public Set<String> getTags() {
    Set<String> tags = new HashSet<String>(classIndex.objectsList());
    tags.remove(flags.backgroundSymbol);
    return tags;
  }
1023371
public static List<String> getTags() {
		List<String> tags = new ArrayList<String>();
		for (String writerProperty : Configuration.getSiblings("writer").keySet()) {
			String tag = Configuration.get(writerProperty + ".tag");
			if (tag != null && !tag.isEmpty() && !tag.equals("-") && !tags.contains(tag)) {
				tags.add(tag);
			}
		}
		return tags;
	}
578385
@JsonIgnore
    public String getTag(String key) {
        return (!Metric.ReservedField.isReservedField(key)) ? _tags.get(key) : null;
    }
711573
public function getTags()
    {
        return \is_string($value = $this->getContentValue('tags', null))
            ? array_unique(array_filter(explode(',', $value)))
            : null;
    }
716318
public java.util.List<Tag> getTagsList() {
        if (tagsList == null) {
            tagsList = new com.amazonaws.internal.SdkInternalList<Tag>();
        }
        return tagsList;
    }
207425
static TokenMap<String> fromFragment(final Object... tags) {
    return new TokenMap<String>() {
      @Override public String map(final Token token) {
        final Object val = token.value();
        if (val instanceof Fragment) {
          Fragment c = (Fragment) val;
          if (!Objects.in(c.tag(), tags)) return null;
          return c.text();
        }
        else return null;
      }
      @Override public String toString() {
        if (tags.length == 0) return "";
        if (tags.length == 1) return String.valueOf(tags[0]);
        return "[" + Strings.join(", ", tags) + "]";
      }
    };
  }
1104754
public java.util.List<ResourceTag> getResourceTagList() {
        if (resourceTagList == null) {
            resourceTagList = new com.amazonaws.internal.SdkInternalList<ResourceTag>();
        }
        return resourceTagList;
    }