Bug 69056

Summary: [1.5] incorrect javadoc in ITypeBinding.isParameterizedType
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Adam Kiezun CLA 2004-06-30 14:22:11 EDT
latest from 1_5 branch
 * For example, a AST type like 
 * <code>Collection&lt;String&gt;</code> typically resolves to a
 * parameterized type binding whose erasure is a type binding for the class 
 * <code>java.util.Collection</code> and whose type argument is a type
 * binding for the class <code>java.util.Collection</code>.

surely, the type argument was intended to be java.lang.String
Comment 1 Frederic Fusier CLA 2004-07-26 12:21:59 EDT
Could you provide code example including your Javadoc comment.
Currently compiler javadoc parser is not able to understand 1.5 syntax. So, I'm
really suprised that you get any binding in a DOM/AST Javadoc hierarchy?!...
Comment 2 Adam Kiezun CLA 2004-07-26 12:41:06 EDT
Frédéric, it's simply a typo. :)
I think the last line in the doc should be:
" * binding for the class <code>java.lang.String</code>"

unless you're referring to another report
Comment 3 Frederic Fusier CLA 2004-07-27 04:35:37 EDT
Oooops. I was completely wrong here.
I'll fix the typo...
Thanks
Comment 4 Frederic Fusier CLA 2004-07-27 04:40:21 EDT
Fixed and released in HEAD.
Comment 5 David Audel CLA 2004-09-23 12:32:45 EDT
Verified in I200409230100.