Bug 85703

Summary: Make Signature.CLASS_TYPE_SIGNATURE final
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Martin Aeschlimann CLA 2005-02-17 10:05:01 EST
20050217
Signature.getTypeSignatureKind return the following constants:
	public static int CLASS_TYPE_SIGNATURE = 1;
	public static int BASE_TYPE_SIGNATURE = 2;
	public static int TYPE_VARIABLE_SIGNATURE = 3;
	public static int ARRAY_TYPE_SIGNATURE = 4;

Making them final would allow to use them in a switch statement.
Comment 1 Olivier Thomann CLA 2005-02-17 11:35:06 EST
This would indeed make sense if they are API and the value cannot be changed.
Comment 2 Olivier Thomann CLA 2005-02-22 10:24:57 EST
Fix and released in HEAD.
Comment 3 Olivier Thomann CLA 2005-02-22 10:28:34 EST
Fixed.
Comment 4 Olivier Thomann CLA 2005-03-30 17:00:47 EST
Verified in I20050330-0500