tags:

views:

85

answers:

1

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.

+3  A: 

Pass -exclude to the javadoc tool. If you want more control then use this.

Happy coding.

reccles