annotation-go/type.go
crusader 08db48ce48 ing
2018-08-23 15:13:22 +09:00

27 lines
507 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()
const TypeAnnotationName = "TypeAnnotation"
type TypeAnnotation interface {
Annotation
}
var MethodAnnotationType = reflect.TypeOf((*MethodAnnotation)(nil)).Elem()
const MethodAnnotationName = "MethodAnnotation"
type MethodAnnotation interface {
Annotation
}