Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 344105

Summary: Unable to get javadoc comments for jdk1.3 version in eclipse
Product: [Eclipse Project] JDT Reporter: SANJEEVKUMAR SOMASUNDARAM <sangansom>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, prakash, sangansom
Version: 3.7Keywords: needinfo
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description SANJEEVKUMAR SOMASUNDARAM CLA 2011-04-28 06:42:51 EDT
Build Identifier: 

I am trying to generate javadoc comments in jdk1.3 in my eclipse IDE.
However,I end up with something like "non-javadoc"...
Can u please clarify me on this?

Reproducible: Always

Steps to Reproduce:
1.point to jdk 1.3
2.write a program with parametrized methods
3.try recreating it
Comment 1 Dani Megert CLA 2011-04-28 08:53:35 EDT
>3.try recreating it
What do you mean by that? Please provide detailed steps.
Comment 2 SANJEEVKUMAR SOMASUNDARAM CLA 2011-04-29 01:11:37 EDT
I am unable to add mising @override annotations in jdk1.3 in eclipse Version: Helios Service Release 2.How to add such annotations in this eclipse.
Also,whenver I try to add javadoc ,I am getting like the following for the below method:

/*
* (non-Javadoc)
* @see org.xml.sax.helpers.DefaultHandler#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
*/
public void startElement(String namespaceURI, String lName,	String qName, Attributes attributes) throws SAXException
		{
			....
		}






why I am getting non-javadoc statements?Can u please clarify me on this?
Comment 3 Dani Megert CLA 2011-04-29 01:39:40 EDT
(In reply to comment #2)
> I am unable to add mising @override annotations in jdk1.3 in eclipse Version:
> Helios Service Release 2.How to add such annotations in this eclipse.

You need to get more familiar with Java itself. Annotations are only supported in 1.5 or higher.


> Also,whenver I try to add javadoc ,I am getting like the following for the
> below method:
> 
> /*
> * (non-Javadoc)
> * @see org.xml.sax.helpers.DefaultHandler#startElement(java.lang.String,
> java.lang.String, java.lang.String, org.xml.sax.Attributes)
> */
> public void startElement(String namespaceURI, String lName,    String qName,
> Attributes attributes) throws SAXException
>         {
>             ....
>         }
> why I am getting non-javadoc statements?Can u please clarify me on this?

Because normally you don't need to add real Javadoc to overridden methods. You can change this on the Java > Code Style > Code Templates preference page.
Comment 4 SANJEEVKUMAR SOMASUNDARAM CLA 2011-04-29 01:55:51 EDT
Thanks Dani.
Comment 5 Dani Megert CLA 2011-04-29 01:57:16 EDT
(In reply to comment #4)
> Thanks Dani.

np.