A pointcut expression tells Spring which method calls an aspect should intercept. You provide it as the value of an advice annotation, such as @Around or @AfterReturning. section 6.2.1 section 6.2.4
Pointcuts can select methods by different criteria:
- `execution(* com.example.services.*.*(..))` selects methods in the services package, regardless of return type, class, method name, or parameters. section 6.2.1
- `@annotation(ToLog)` selects methods marked with `@ToLog`; a runtime-retained annotation lets the aspect intercept them. section 6.2.3
Expressions can be powerful and complex, but simple alternatives are often preferable. You need not learn the language by heart; consult documentation when needed. section 6.2.1
Figure 6.12 The steps for intercepted annotated methods. You need to create a custom annotation you want to use to annotate the methods your aspect needs to intercept. Then you use a different AspectJ pointcut expression to configure the aspect to intercept the methods annotated with the custom annotation you created.

See how a custom annotation and a pointcut expression work together to select methods for interception. section 6.2.3
