IntelliJ IDEA 14.0.0 Web Help

Enabling Annotations

Prior to using annotations, they should be enabled in project.

To enable annotations in a project, follow these general steps

  1. Click projectStructure to open the project structure dialog.
  2. In the Project Structure dialog box, click Libraries.
  3. Click add. Select Library Files dialog box opens.
  4. Under that <IntelliJ IDEA home> directory, select lib/annotation.jar, and click OK:
    add_annotations
  5. If your project contains more than one module, choose the desired module to be modified, and click OK:
    choose_module

See Also

Last modified: 12 November 2014
comments powered by Disqus