IntelliJ IDEA 2020.3 Help

AspectJ facet page

File | Project Structure | Modules | <module> | AspectJ
File | Project Structure | Facets | AspectJ (<module>)

The page is available only if the AspectJ plugins are enabled. For more information, see AspectJ.

On this page, you can:

  • Specify that the AspectJ compiler ajc should be used only for post-compile weaving.

  • Specify the ajc command-line option aspectpath for the module.

Item Description
Post-compile weave mode

If you select this checkbox, javac is used to compile the source code. Then, ajc is used to weave the compiled class files. As a result, the overall process takes less time.

IMPORTANT: Don't select this checkbox if there are .aj aspects in the module. That is, you should select this checkbox only if all the aspects are defined as @Aspect-annotated Java classes (in java files).

Aspect path

Use the available controls to form the aspectpath for the module.

icons.general.add.svg Alt+Insert. Use this icon or shortcut to add libraries and other modules. Select the necessary libraries and modules in the dialog that opens. (To choose from, dependencies of the module are suggested.)

icons.general.remove.svg Alt+Delete. Use this icon or shortcut to remove the selected items from the list.

icons.actions.previousOccurence.svg Alt+Up. Use this icon or shortcut to move the selected item one line up in the list.

icons.actions.nextOccurence.svg Alt+Down. Use this icon or shortcut to move the selected item one line down in the list.

Last modified: 19 August 2020