IntelliJ IDEA 14.1.1 Help

AspectJ Facet Page

File | Project Structure | Modules - module - AspectJ facet

The page is available only if the AspectJ support plugins are enabled. See Enabling AspectJ Support Plugins.

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 check box, 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 check box if there are .aj aspects in the module. That is, you should select this check box 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.

add (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.)

delete (Alt+Delete). Use this icon or shortcut to remove the selected items from the list.

arrowUp (Alt+Up). Use this icon or shortcut to move the selected item one line up in the list.

arrowDown (Alt+Down). Use this icon or shortcut to move the selected item one line down in the list.

See Also

Language and Framework-Specific Guidelines:

Web Resources:

Last modified: 6 April 2015