javadoc

A tool to find and fix incomplete source code documentation

I have several finished, older PHP projects with a lot of includes that I would like to document in javadoc/phpDocumentor style. While working through each file manually and being forced to do a code review alongside the documenting would be the best thing, I am, simply out of time constraints, interested in tools to help me automate t...

How to manage @todo programming stuff ?

For many years my code was full of this kind of comments : //TODO : Add ... ... /* *TODO : Fix ... * */ Now I think to create my own @todo javadoc annotation ... but before doing that I want to know if do you guys have better way to manage your todo programming stuff ? ...

Browsing the JDK docs more efficiently.

So far I've just been tacking "java 6" at the end of my class-name search queries in google, but sometimes I'm looking for classes that I don't know the name of, but are designed for what I want to do. Have any tips or tricks for browsing the JDK docs efficiently? ...

In Eclipse, how to set JavaDoc URL on a classpath entry programmatically?

I have an Eclipse plugin, that among other things, can create a project and give it several classpath entries. This in and of itself works fine. These jars do not have source included in the, however there is a URL that can be used for Javadoc. I want to set this up programmatically for these classpath entries that the plug-in creates...

Is there a javadoc tag for documentating generic type parameters?

I've been looking through the javadoc documentation on Sun's site, trying to find if there's a javadoc tag which can be used to document a class or method's generic type signature. Something like @typeparam, similar to the usual @param, but applicable to types as well as methods,e.g. /** * @typeparam T This describes my type paramete...

Download JAVA JDK 6.0

After downloading java.sun.com by Window XP, c:\program files\java\jre6 is found, but not JDK files. cmd Javac -version with error message "javac is recognized command". No idea why. Also where and what do I need to update the PATH? Many thanks, Michael Chen ...

Netbeans C/C++ JavaDoc code-completion

Hello, I am developing C++ in NetBeans 6.7.1. When I press CTRL + space for autocomplete there is shown only method's signature. I am using JavaDoc for commenting my code but NetBeans doesn't show it. I have installed Doxygen plugin but it is only for generating complete documentation. Is there any way how to force the IDE to show sign...

How to include Jax-ws annotations in Javadoc

I want to add Jax-ws annotations to my Javadocs for service interfaces, such as @WebService(name = "CommentService", targetNamespace = "http://xxx.org/wsdl/comment") @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) public interface CommentService exte...

Where can I get a copy of JDK 1.0.2 JavaDocs?

I'm doing a bit of research for a blog post involving the evolution of a specific part of the Java API. To that end, I've been able to find JavaDocs going all the way back to JDK 1.1, but not to the original 1.0. Sun has removed any trace of JDK 1.0 JavaDocs from sun.com. I've Googled high and low, near and far, but cannot find anyt...

How to exclude deprecated public methods from Javadoc?

I would like to generate javadoc for my classes. The 'generate Javadoc' command gives me an option to create Javadoc for members with visibility Private/Package/Protected/Public. But there are some public methods I don't want to be included in the Javadoc. How can I specify for this Javadoc generator exactly which members/methods to incl...

How to use Javadoc options (such as -notdeprecated) in eclipse?

I would like to generate javadoc but excluding deprecated methods from it. I know there's an option called -notdeprecated (which does what I need) but I can't figure out how to specify this option. To produce javadoc I go to Project->Generate Javadoc. There I can choose between 'use standard doclet' and 'use custom doclet'. I think I sh...

The -nodeprecated option in javadoc doesn't seem to work. What can I do?

I have a deprecated method in my class: @Deprecated public void deprecatedMethod() { //do bad things } I don't want that method to appear in the javadoc. I know there's an option called -nodeprecated which: "Prevents the generation of any deprecated API at all in the documentation." So I'm using this option and it doesn't...

javadoc cannot find org.junit.Test

Hi All, When I run javadoc on my java source code, I get this error for th Junit test class: [javadoc] /mypath/TestStuff.class: warning: Cannot find annotation method 'expected()' in type 'org.junit.Test': class file for org.junit.Test not found The problem appears with junit version 4 with this type of annotation: @Test(expect...

Generate a Javadoc for my Android project

Hello, i was hoping someone could help me in generating a javadoc for my eclipse project. When i select 'Generate Javadoc' from the project menu I get lots of errors like cannot find symbol symbol : class ListView everytime a class referencing an Android API class, so i only get Javadocs outputted for the classes that do not referenc...

Javadoc "Use" section - why is it missing?

In the javadocs some APIs (outside java.lang and java.util) the "Use" section is missing. XMLStreamReader for example. It is a bit unpleasant that you can't tell what classes of the API return the class that you need, based on the javadoc, and you must employ some other tricks (like IDE features) to do this. Is there any reason for no...

Is there a standard for documenting GET/POST parameters?

In a PHP project, even when front controller logic is used for the main application, there can be many stand-alone scripts, ajax snippets and so on. Is there a standardized way - either PHPDoc or something else - to define in the first comment block of the script what GET and/or POST parameters the script will accept / require and of wh...

Javadoc for J2EE in Netbeans not showing

For all the javax* classes Netbeans says javadoc not found. Anyone know how I can get javadoc to show? ...

How can I display documentation in Xcode via CodeSense?

I am Java developer and would like to know how I can get the equivalent of a JavaDoc in Xcode when CodeSense is doing its auto-complete? If I hit the ESC button I can get a list of methods etc. but it does not show me the descriptions of what the methods do. ...

Javadoc {@inheritDoc} tag class

Hello, I would like to use the {@inheritDoc} class to inherit methods from my abstract class. In the documentation for the abstract class, I refer to the abstract class by name. How can I tag this so when the subclass inherits the documentation from the super class, it replaces the abstract class's name with the subclass's name? Than...

How to get Eclipse to show Javadoc for javax annotations

I really like the way Eclipse has pop-up Javadoc documentation for the various Java library classes I use. However, I also use JPA and JAXB annotations such as @Entity and @XMLType. Eclipse recognises these as valid because I can hit ctrl-space and they pop-up. I also get Javadoc for javax classes. But there is no Javadoc for these a...