<p>I have a large codebase without Javadoc, and I want to run a program to write a skeleton with the basic Javadoc information (e.g., for each method's parameter write @param...), so I just have to fill the gaps left.</p>

<p>Anyone know a good solution for this?</p>

<p><strong>Edit:</strong></p>

<p>JAutodoc is what I was looking for.  It has Ant tasks, an Eclipse plugin, and uses Velocity for the template definition.</p>

[{'answer_id': 29710, 'author': 'Silas Snider', 'author_id': 2933, 'author_profile': 'https://Stackoverflow.com/users/2933', 'pm_score': 2, 'selected': False, 'text': '<p>If you right-click in the source of a file in Eclipse, it has a Javadoc generation option under the source menu.</p>\n'}, {'answer_id': 31946, 'author': 'Laurent K', 'author_id': 2965, 'author_profile': 'https://Stackoverflow.com/users/2965', 'pm_score': 6, 'selected': True, 'text': '<p>The <a href="http://jautodoc.sourceforge.net/" rel="noreferrer">JAutodoc</a> plugin for eclipse does exactly what you need, but with a package granularity : </p>\n\n<p>right click on a package, select "Add javadoc for members..." and the skeleton will be added.</p>\n\n<p>There are numerous interesting options : templates for javadoc, adding a TODO in the header of every file saying : "template javadoc, must be filled...", etc.</p>\n'}, {'answer_id': 31952, 'author': 'izb', 'author_id': 974, 'author_profile': 'https://Stackoverflow.com/users/974', 'pm_score': 3, 'selected': False, 'text': '<p>You can configure eclipse to show warnings for things that lack javadoc, or have javadoc that does not have all the information, or has wrong information. It can also insert templates for you to fill out.</p>\n\n<p>Not quite the tool you asked for, but probably better because you won\'t end up with empty skeletons on methods that you missed.</p>\n\n<p>You can achieve this by investigating and editing the preference page beyond the path Window > Preferences > Java > Compiler > Javadoc for your workspace. The screenshot of that preference page is below:</p>\n\n<p><img src="https://i.stack.imgur.com/Ar2IU.jpg" alt="The so-called Javadoc preference page"></p>\n\n<p>For further information about the items in this screen please follow the link below:</p>\n\n<p><a href="http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fpreferences%2Fjava%2Fcompiler%2Fref-preferences-javadoc.htm" rel="nofollow noreferrer">Java Compiler Javadoc Preferences Help</a></p>\n'}, {'answer_id': 64497, 'author': 'davetron5000', 'author_id': 3029, 'author_profile': 'https://Stackoverflow.com/users/3029', 'pm_score': 5, 'selected': False, 'text': "<p>I think auto-generating empty Javadoc is an anti-pattern and should be discouraged; it gives code the appearance of being documented, but just adds noise to the codebase.  </p>\n\n<p>I would recommend instead that you configure your code editor to assist on a per-method and per-class basis to use when you actually write the javadoc (one commenter pointed to Eclipse's feature that does this).  </p>\n"}, {'answer_id': 16472314, 'author': 'Booger', 'author_id': 636988, 'author_profile': 'https://Stackoverflow.com/users/636988', 'pm_score': 4, 'selected': False, 'text': '<p>You can also place your cursor on the line above a method you would like to JavaDoc, then type:</p>\n\n<pre><code>/**\n</code></pre>\n\n<p>and press Enter.  This will generate your JavaDoc stub.</p>\n'}, {'answer_id': 25558376, 'author': 'Jorgesys', 'author_id': 250260, 'author_profile': 'https://Stackoverflow.com/users/250260', 'pm_score': 3, 'selected': False, 'text': '<p><strong>Select the method</strong> that you want add Javadoc and <kbd>alt</kbd>+<kbd>Shift</kbd>+<kbd>j</kbd>, creates automatically the javadoc comment.</p>\n\n<p>EXAMPLE:</p>\n\n<pre><code>/**\n     * @param currDate\n     * @param index\n     * @return\n     */\n    public static String getAtoBinary(String currDate, int index){  \n        String HourA = "0";\n        try{\n            String[] mydate = currDate.split("/");\n            HourA = mydate[index].substring(1, 2);\n        }catch(Exception e){\n            Log.e(TAG, e.getMessage());\n        }\n        return HourA;\n    }\n</code></pre>\n'}]
['https://Stackoverflow.com/questions/29689', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2937/']