annotation-go/type.go
2018-08-22 18:36:13 +09:00

29 lines
553 B
Go

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
}