Bug 337275

Summary: Incorrect/outdated javadoc for org.eclipse.jdt.core.dom.Expression
Product: [Eclipse Project] JDT Reporter: Deepak Azad <deepakazad>
Component: CoreAssignee: Ayushman Jain <amj87.iitr>
Status: VERIFIED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: amj87.iitr, Olivier_Thomann
Version: 3.7   
Target Milestone: 3.7 M6   
Hardware: All   
OS: All   
Whiteboard:

Description Deepak Azad CLA 2011-02-15 22:51:04 EST
HEAD

The javadoc mentions IntegerLiteral and FloatingPointLiteral but these classes do not exist. Instead there is a NumberLiteral class which is not mentioned in the Javadoc. 

(There could be other errors, but I have not checked those.)
Comment 1 Ayushman Jain CLA 2011-02-16 06:35:00 EST
Fixed.
Comment 2 Olivier Thomann CLA 2011-03-07 11:30:47 EST
I wonder if we should not completely remove the list of expressions, since in the javadoc we already have the list of all subclasses.
If we want to preserve the list of expressions, it should be sorted alphabetically.
Comment 3 Olivier Thomann CLA 2011-03-07 13:50:46 EST
I'll close it as verified as the original problem is fixed.
Comment 4 Olivier Thomann CLA 2011-03-07 13:53:39 EST
Verified for 3.7M6.
Annotation is missing, but I'll open a new bug report to improve the documentation (sort the values).