Bug 71113

Summary: [1.5] improve DOM/AST specs for bindings for JLS3 constructs
Product: [Eclipse Project] JDT Reporter: Jim des Rivieres <jeem>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: 3.0   
Target Milestone: 3.1 M1   
Hardware: All   
OS: All   
Whiteboard:

Description Jim des Rivieres CLA 2004-07-29 16:25:25 EDT
The specs for ITypeBinding and IMethodBinding do not cover all the cases that 
need to be handled in JLS3. The particular area that the spec must cover are 
instances of generic type and generic methods.
Comment 1 Jim des Rivieres CLA 2004-07-29 16:38:34 EDT
IBinding
- getKey() - added clauses in spec to cover new JLS3 bindings

ITypeBinding
- revised/clarified specs for various methods to explain how type bindings can 
arise from instances of generic types (parameterized type references and raw 
type references)
- clarified getTypeParameters() to say that these do not show up on the 
binding for instances of the generic type

IMethodBinding
- added isParameterizedMethod(), isRawMethod(), getErasure(), getTypeArgument()
- clarified specs for to explain how method bindings can arise from instances 
of generic method (parameterized method references and raw method references)
- clarified getTypeParameters() to say that these do not show up on the 
binding for instances of the generic method

Olivier, Please reopen if the specs need further changes.