Bug 24189 - need a way to verify that a string can be a type name
Summary: need a way to verify that a string can be a type name
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M2   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-27 11:47 EDT by Adam Kiezun CLA
Modified: 2002-09-30 05:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2002-09-27 11:47:28 EDT
JavaConventions.validateJavaTypeName is not enough because it
says that 'int' is not ok
but, in my case, 'int' should be fine
Comment 1 Philipe Mulet CLA 2002-09-30 04:53:31 EDT
This API is only to be used for validating names of type declarations. Base 
types are well-known and you can special case them in a helper.

Ok to close?
Comment 2 Adam Kiezun CLA 2002-09-30 05:11:40 EDT
it's a workaround :)
but ok to close
Comment 3 Philipe Mulet CLA 2002-09-30 05:17:47 EDT
Closing