func (a *Annotation) Type() (string, bool) {
	if a == nil || a.typ == "" {
		return "", false
	}
	return a.typ, true
}
Type returns the SGo type annotation for package or identifier referred to by
Cursor, if it exists.
package annotations
import "strings"
type Annotation struct {
	cursor string
	typ    string
	anns   map[string]string
}
func NewAnnotation(anns map[string]string) *Annotation {
	if anns == nil {
		return nil
	}
	return &Annotation{anns: anns}
}
func (a *Annotation) Cursor() string {
	return a.cursor
}