[java] UnusedImports: False Positve with javadoc @link
A source code analyzer
Brought to you by:
adangel,
juansotuyo
See [#1280].
Example:
import a.b.c.d.AgentState; // line 6
//...
/**
* Gets all active AgentHandles.
* <p/>
* An agent is active if it has not posted a {@link AgentStateChangeEvent} containing {@link AgentState#TERMINATED}.
*
* @return agent handles.
*/
Iterable<AgentHandle> getAgentHandles();
The part {@link AgentState#TERMINATED} is not parsed correctly and raises a violation for "AgentState".
This will be fixed with PMD 5.3.7, 5.4.2 and 5.5.0.
Commit: https://github.com/pmd/pmd/commit/1c08f946917a938669cfcf011e238dae028b3898
Last edit: Andreas Dangel 2016-04-30