Creating Aspects
This feature is supported in the Ultimate edition only.
IntelliJ IDEA lets you create aspects in two forms: as .aj
files and .java
files containing classes annotated with @Aspect
.
Note that by the time you start to create your aspects, you must have already enabled the AspectJ support plugins and defined aspectjrt.jar as a library.
Creating an aspect
- In the Project tool window, do one of the following:
- Select Aspect.
- In the dialog that opens:
See Also
Last modified: 18 July 2017