How to reference Lombok generated methods in Javadocs?

Viewed 189

I am currently having issues with writing my javadocs and I keep getting Tag @link: can't find getProjected() in XXXX when this is a getter generated by Lombok.

My javadoc is @return the XXX {@link #getProjected()}.

Is there anyway of actually referencing these methods as they are created at compilation?

(I am using Eclipse IDE)

1 Answers

You need to install the Lombok plugin for Eclipse.

This Baeldung article describes the installation process in full, but the essence is:

  1. Download the latest lombok jar
  2. At a command prompt run java -jar lombok-x.x.x.jar which launches the installer UI
  3. Locate the Eclipse installation
  4. Click Install / Update
Related