public AnnotationType getType() {
        return type;
    }
Returns the type of this annotation.

@return the type of this annotation
document/src/main/java/com/yahoo/document/annotation/Annotation.java