3

I've got a class like this:

package org.jjerms.thing;

interface IThing {
    void doSomething();
}

final class Thing implements IThing {
    /**
     * This Javadoc pretends (to users outside the package) 
     * that doSomething originates here.
     */   
    public void doSomething() {
        // some code...
    }
}

And when I look at the Javadoc for Thing#doSomething in Eclipse but from another package, the Javadoc viewer talks about IThing (it says soSomething specified in IThing).

Can I prevent this? I don't want clients to know anything about IThing.

jjerms
  • 1,095
  • 1
  • 10
  • 10

1 Answers1

5

Pass -exclude to the javadoc tool.

spongebob
  • 8,370
  • 15
  • 50
  • 83
reccles
  • 5,174
  • 3
  • 30
  • 31