How do I call other methods through annotations?

now there is a scenario like this:
A micro-service system. I have written a separate service that uses spring aop to monitor calls to other business services api.
want to write comments in the monitored service in less invasive ways, you can register and feedback interface calls in the monitoring service.
is like swagger, but there is no way of thinking. Ask for advice

.
Dec.23,2021

1, Custom Annotation Class
2, Custom facet, @ Aspect
3, use Custom Annotation to cut into specific methods

Menu