Source code for jivago.lang.annotations
from typing import Callable
from jivago.lang.registry import Annotation
@Annotation
def Inject(fun: Callable) -> Callable:
return fun
@Annotation
def Serializable(clazz: type) -> type:
return clazz
@Annotation
def BackgroundWorker(clazz: type) -> type:
return clazz