Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shared annotation RouteAnnotation route(String path) => RouteAnnotation(path);
- shared final annotation class RouteAnnotation(path)
- satisfies OptionalAnnotation<RouteAnnotation, FunctionDeclaration|ClassDeclaration> {
- shared String path;
- }
- shared annotation ControllerAnnotation controller() => ControllerAnnotation();
- shared final annotation class ControllerAnnotation()
- satisfies OptionalAnnotation<ControllerAnnotation, ClassDeclaration> {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement