29 lines
553 B
Go
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
|
|
}
|