2018-08-22 09:36:13 +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()
|
|
|
|
|
2018-08-23 06:13:22 +00:00
|
|
|
const TypeAnnotationName = "TypeAnnotation"
|
2018-08-22 09:36:13 +00:00
|
|
|
|
2018-08-23 06:13:22 +00:00
|
|
|
type TypeAnnotation interface {
|
2018-08-22 09:36:13 +00:00
|
|
|
Annotation
|
|
|
|
}
|
|
|
|
|
|
|
|
var MethodAnnotationType = reflect.TypeOf((*MethodAnnotation)(nil)).Elem()
|
|
|
|
|
2018-08-23 06:13:22 +00:00
|
|
|
const MethodAnnotationName = "MethodAnnotation"
|
|
|
|
|
2018-08-22 09:36:13 +00:00
|
|
|
type MethodAnnotation interface {
|
|
|
|
Annotation
|
|
|
|
}
|