@Override
    public boolean isValueCompatible(FieldValue value) {
        if (!(value instanceof AnnotationReference)) {
            return false;
        }
        AnnotationReference reference = (AnnotationReference) value;
        if (equals(reference.getDataType())) {
            return true;
        }
        return false;
    }
Creates an AnnotationReferenceDataType. WARNING! Do not use!
document/src/main/java/com/yahoo/document/annotation/AnnotationReferenceDataType.java