annotation

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnnotatedMethod

type AnnotatedMethod interface {
	GetMethodLocation() string
	GetMethod() reflect.Method
	GetParams() []reflect.Value
	GetResult() []reflect.Value
}

type AnnotatedMethodProxy

type AnnotatedMethodProxy interface {
	GetProxyName() string
	Before(delegate AnnotatedMethod) bool
	After(delegate AnnotatedMethod)
	Finally(delegate AnnotatedMethod)
}

type Annotation

type Annotation interface {
	RegisterAnnotatedObject(object interface{})
	RegisterAnnotatedObjectProxy(proxy AnnotatedMethodProxy) error
	GetAnnotatedMethodInfos() map[string]*analysis.MethodInfo
}

func NewAnnotation

func NewAnnotation(targetAnnotation string) Annotation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL