annotation-go/type.go

29 lines
553 B
Go
Raw Normal View History

2018-07-17 10:58:14 +00:00
package annotation
import "reflect"
var AnnotationType = reflect.TypeOf((*Annotation)(nil)).Elem()
const AnnotationName = "Annotation"
type Annotation interface {
}
var TypeAnnotationType = reflect.TypeOf((*TypeAnnotation)(nil)).Elem()
type TypeAnnotation interface {
Annotation
}
var ConstructorAnnotationType = reflect.TypeOf((*ConstructorAnnotation)(nil)).Elem()
type ConstructorAnnotation interface {
Annotation
}
var MethodAnnotationType = reflect.TypeOf((*MethodAnnotation)(nil)).Elem()
type MethodAnnotation interface {
Annotation
}