I couldn’t reproduce this.
Go to your project’s XDOclet properties, click Add and name the doclet, say “Mock”. Then right-click in the panel below to add a new task, and add the mockobjectdoclet task.
Also with your classes, in your javadoc hit @ and then invoke autocomplete, you have all the mock entities. For example I added @mock.generate to my class for a test.