Community
Participate
Working Groups
Sometimes imports are necessary only for the purpose of creating javadoc links via the @link/@see tags, even though the imported class(es) are not referenced in the code itself. However, the eclipse compiler option will mark such imports are unneeded. They are not needed by the Java compiler but ARE needed by the javadoc compiler.
The Java compiler doesn't introspect Javadoc (except for looking for @deprecated tags). I would rather wonder why javadoc compiler relies on extra imports. Such extra imports should rather be located in a javadoc itself rather than polluting the real source code.
Ok to close?
A workaround is to fully qualify the class in the Javadoc comment. This way there is no need to import the class.
Exactly, closing.
Forgot to assign
Closing
Again