code: public Optional<Tag> getTag() {
        AttributeType tagAttributeType = annotationType.getTagAttribute();
        if (tagAttributeType == null) {
           return Optional.ofNullable(get(Types.TAG).as(Tag.class));
        }
        return Optional.ofNullable(get(tagAttributeType).as(Tag.class));
     }
docs: <p> Gets the tag, if one, associated with the annotation. The tag attribute is defined for an annotation type
  using the <code>tag</code> configuration property, e.g. <code>Annotation.TYPE.tag=fully.qualified.tag.implementation</code>.
  Tags must implement the <code>Tag</code> interface. If no tag type is defined, the <code>Attrs.TAG</code>
  attribute will be retrieved. </p>
  
  @return An optional containing the tag if present