Bug 211779

Summary: [search] better name for SUPERTYPE_TYPE_REFERENCE?
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: david_audel
Version: 3.3   
Target Milestone: 3.4 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed patch none

Description Martin Aeschlimann CLA 2007-12-03 11:28:10 EST
20071203

IJavaSearchConstants has two constants

SUPERTYPE_TYPE_REFERENCE and
SUPERINTERFACE_TYPE_REFERENCE

It would probably more precise to call the first one 
SUPERCLASS_TYPE_REFERENCE

as one could argue that super interfaces are also super types.

To simplify, I would suggest to merge the two in one constant. It's clear from the type of the type (class/interface...) where it can appear.

-> SUPERTYPE_TYPE_REFERENCE
Comment 1 Frederic Fusier CLA 2007-12-04 17:32:10 EST
Created attachment 84462 [details]
Proposed patch

Also includes fix for bug 211781
Comment 2 Frederic Fusier CLA 2007-12-05 07:43:52 EST
Released for 3.4M4 in HEAD stream.
Comment 3 David Audel CLA 2007-12-12 09:47:26 EST
Verified for 3.4M4 using build I20071210-1800.